I think I found something weird about SFML network handling. Here is my stack overflow post
http://stackoverflow.com/questions/32260637/sfml-tcp-socket-bidirectional-communicationSummary:
- Simple Sever/Client, One thread.
- Client sends data to server once then the client is unable to receive more data from the server (it thinks it is disconnected, but it can send data) while the server is still receiving and sending data to the client correctly.
Solution I found:
- remove the client window (graphics, events)
- move the network specific into another thread (detached, with its own loop)
I was wondering if I could make the single thread program work with graphics.
did I missed something ?
Thanks