Advertisement Jump to content


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


Any alternatives to IOCP [ it is causing lag]

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

Hi, I've got an IOCP server running that was using code from CodeProject. Works great when there are less than approx 20 users. But when I get to 50 or so and I try to broadcast a message to all of the clients, it lags horribly. (talk seconds) I don't know if it has something to do with the packet ordering mechanism, but I don't think so since I'm sending to different clients. I am not using an incredible amount of bandwidth, so that isn't the problem. Is there any good alternative to IOCP on Windows? Or is there something that could be causing the problem with IOCP? Shutter [edited by - Shutter on May 8, 2004 11:34:50 PM]

Share this post

Link to post
Share on other sites
I would suggest taking a peek at what''s going on by using Ethereal. With that you''ll be able to figure out exactly when your messages are arriving/being sent, and put a better point on where the problem is coming from. At the moment it could either be anything.

"You are in a room. You can see a cow."
">look at cow"
"It is a cow."


Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!