What do you want to save?
Add Code snippet
New code examples
-
Python 2021-11-11 07:26:15
send message from server to client python
import socket import sys HOST = '' PORT = 9000 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) print 'Socket created' try: s.bind((HOST, PORT)) except socket.error , msg: print 'Bind failed. Error Code : ' + str(msg[0]) + ' Message ' + msg[1... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5