Jump to content
  • Advertisement
Sign in to follow this  
felisandria

Serial problems

This topic is 5043 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

I have my winsock all set up properly, as far as I know, but when I fire it off it does read events when there is no data on the port (even if I unplug the cable it does this). What did I do to throw my winsock GetOverlappedEvents handler into this strange eternal read mode? Thanks -fel

Share this post


Link to post
Share on other sites
Advertisement
Are you saying that you get async "there is data to read" events when there isn't, or are you saying that doing a recv() returns data, but garbage data?

or recv is returning without data when there is no data to be read, which is expected for nonblock...

Share this post


Link to post
Share on other sites
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!