zero_shubham1

networking

Nov 12th, 2015
338
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. #!/usr/bin/env python
  2. from socket import *
  3. HOST =
  4. PORT =
  5. BUFSIZ
  6. ADDR =
  7. 'localhost'
  8. 21567
  9. = 1024
  10. (HOST, PORT)
  11. udpCliSock = socket(AF_INET, SOCK_DGRAM)
  12. while True:
  13. data = raw_input('> ')
Advertisement
Add Comment
Please, Sign In to add comment