🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

More IOCP woe

posted in DruinkJournal
Published June 21, 2006
Advertisement
Ok, so I have my socket code working to accept clients, and handly reading data.
And already it's becomming a fucking mess.

A socket can be killed from both sides of the socket manager - the network layer by the client disconnecting, and the API layer but the code calling CSocket::Disconnect(). I'm already having problems trying to get the code to nicely handle a client disconnecting. I can't be bothered trying to explain it, but basically I can't kill a socket without all of it's IO events being flushed and stuff.

Oh shit it, I'm going to get drunk.
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement