Python Socket
2016-08-23
0 0 0
no vote
Other
Earn points
Examples python achieve udp broadcast, but also that the contents of the blog before the reference on the network, according to their own needs to be done after a little change.
Using the UDP protocol to send and accept the process of broadcast packets:
1. Initialize the Winsock library
2. Create SOCK_DIRAM type of socket
3. Set Socket properties allow it to broadcast
4. Send the packet to 192.168.0.255
5. receive broadcast packets own broadcast
6. Close Socket
7. Release Network Library
Using the UDP protocol to send and accept the process of broadcast packets:
1. Initialize the Winsock library
2. Create SOCK_DIRAM type of socket
3. Set Socket properties allow it to broadcast
4. Send the packet to 192.168.0.255
5. receive broadcast packets own broadcast
6. Close Socket
7. Release Network Library
python
socket
语言
实现
Related Source Codes
Word memorization software
0
0
no vote
CWT Python example
0
0
no vote
STFT example
0
0
no vote
Chinese Speech Recognition
0
0
no vote
python-ela
0
0
no vote
No comment