Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Desdemona

IO Completion Ports / UDP sockets

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

Advertisement
Thanks, that was a great article. I''m still having a problem though. That article explained how to use the completion port to receive the data, but I cannot see any method of retrieving ''who'' is sending the data.

One of the comments at the end of the article states that sendto and recvfrom are not supported by completion ports/readfile/writefile, which would explain why there isnt any obvious way of getting ''who'' sent the data. Still looking around for a definate answer...

Share this post


Link to post
Share on other sites
You need to use the WSAREcvFrom() function call for this.

http://pages.infinit.net/cbenoi1/iocp_udp.zip

-cb

[edited by - cbenoi1 on June 6, 2004 6:05:36 PM]

Share this post


Link to post
Share on other sites

  • 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!