SHARE
TWEET

Untitled

a guest Apr 25th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import socket
  2.  
  3. PAYLOAD = "Hello, World!"
  4.  
  5. # UDP
  6. s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
  7. s.sendto(PAYLOAD, ("1.2.3.4", 4321))
  8. s.close()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top