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

Blocking versus Nonblocking server

Started by
-1 comments, last by FW 23 years, 5 months ago
Our server is a windows app using Async sockets. I have been reading winsock2 books lately that say blocking sockets are the way to go for a server. We do have some intermittant crashes that are hard to debug on occasion. The game will accept 200 players at this time. The problem I am having is finding a decent mode to parse the incoming events, as I have had no luck getting the WSAEventSelect to return correctly. Currently I have enumerated a serverState but have been only able to successfully connect one player at a time using the blocking sockets paradigm. I am looking for suggestions of how to pass the connected socket off, then return to listening while keeping all players connected. In contrast any comments on async versus blocking sockets will be most appreciated. Thanks K

This topic is closed to new replies.

Advertisement