SFML community forums

Help => Network => Topic started by: Dwarfius on February 13, 2012, 04:12:08 pm

Title: Socket Selector : client crashing with 3 or more clients
Post by: Dwarfius 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.
Title: Socket Selector : client crashing with 3 or more clients
Post by: Laurent on February 13, 2012, 05:25:32 pm
http://www.sfml-dev.org/forum/viewtopic.php?p=36367#36367