Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Socket Selector : client crashing with 3 or more clients  (Read 2091 times)

0 Members and 1 Guest are viewing this topic.

Dwarfius

  • Newbie
  • *
  • Posts: 3
    • View Profile
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.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Laurent Gomila - SFML developer

 

anything