Jump to content
  • Advertisement
Sign in to follow this  
andrei94

send/recv client

This topic is 2230 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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!