UDP client example : UDP Client : Network PYTHON TUTORIALS


PYTHON TUTORIALS » Network » UDP Client »

 

UDP client example


import socket
clisocket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
while 1:
    data = "data"
    if data:
        clisocket.sendto(data, ("lessaworld.com"8000))
    else:
        break
s.close()



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Network
» UDP Client