You missed the import socket statement. Also the socket.PF_INET should be socket.AF_INET
-- http://mail.python.org/mailman/listinfo/python-list
You missed the import socket statement. Also the socket.PF_INET should be socket.AF_INET
-- http://mail.python.org/mailman/listinfo/python-list