• Advertisement
Sign in to follow this  

send/recv client

This topic is 2108 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello everyone!

I made a client-server app that should exchange data betwen them.. they connect.. all is ok but i want it to be like an instant messenger..
now i can just send data on one and recive on the other 1 ...and not do all things toghether... that's because recv just blocks and wait for a message...and my send/recv is in a loop so if one blocks... i wont be able to chat anymore till the other one responds...
So...how can i solve it please ?...how can u recv the message if there it is one and go on if there is nothing ?

Please help, Thanks :D

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement