Skip to content

Instantly share code, notes, and snippets.

@erangaeb
Created July 10, 2015 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erangaeb/45c5d5c992fdbe26b0da to your computer and use it in GitHub Desktop.
Save erangaeb/45c5d5c992fdbe26b0da to your computer and use it in GitHub Desktop.
UDP
port = 5000
soc = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
soc.bind(("10.2.2.132", port))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment