1
System / Re: How to protect a set of dynamically increasing critical sections
« on: April 04, 2012, 12:58:47 am »
OK, thank you !
I will have a try
I will have a try
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
From what I remember, getting NotReady means the data has not been fully received. But maybe a part of it. So what you would have to do is calling receive() again and again until everything has been received.
I don't think you need to use threads here. You can set your sockets in non blocking mode : http://www.sfml-dev.org/documentation/2.0/classsf_1_1Socket.php#a165fc1423e281ea2714c70303d3a9782