Re: Communicating with multiple clients using one TCP socket pyt

2015-03-30 Thread Ian Kelly
On Mon, Mar 30, 2015 at 2:43 AM, bobbdeep wrote: > Also, when once client is connected to the server, the other cannot connect > to the server. Any ideas on how to do this ? While one client is connected, the server can't accept new connections because it's tied up in a blocking call to recv, wa

Re: Communicating with multiple clients using one TCP socket pyt

2015-03-30 Thread sohcahtoa82
On Monday, March 30, 2015 at 1:44:17 AM UTC-7, bobbdeep wrote: > I am using TCP sockets to communicate between my server and clients. The > server code and socket code are as below: > > server: > > from socket import * > > HOST = 'xx.xx.xx.xx' > PORT = 1999 > serversocket = socket(AF_INET,SOCK_