1
Network / Socket Selector : client crashing with 3 or more clients
« on: February 13, 2012, 04:12:08 pm »
I have a server with a socket selector and a client. They exchange data by TCP. When I run clients on the local machine (127.0.0.1, same as server) everything works fine.
However, if I run 3 or more clients from different addresses, the first client that connected crashes.
To sum things up :
Server (127.0.0.1) + Client1 (127.0.0.1) + Client2 (other ip) = OK
Server (127.0.0.1) + Client1 (127.0.0.1) + Client2 (other ip) + Client3 (other ip) = Client1 crashes
Thanks for any info regarding this.
However, if I run 3 or more clients from different addresses, the first client that connected crashes.
To sum things up :
Server (127.0.0.1) + Client1 (127.0.0.1) + Client2 (other ip) = OK
Server (127.0.0.1) + Client1 (127.0.0.1) + Client2 (other ip) + Client3 (other ip) = Client1 crashes
Thanks for any info regarding this.