Advertisement Jump to content

Archived

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

Dwarf with Axe

windows server question

This topic is 5633 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''m writing a win32 server for a game of mine and right now all messages are sent to a message handler, where they are switch()ed and processed accordingly. The problem (if it even is one) is that I''m checking to see if there are messages with custom functions and then processing them if there are any accordingly. Are custom getMessage funcs and message handlers better than using the FD_READ/WRITE things I''ve heard about? If it''s pertinent, I''m coding in winsock, and it''s a tcp/ip. Thanks!

Share this post


Link to post
Share on other sites
Advertisement
What do you mean FD_READ/WRITE? Are you referring to an non-blocking I/O model? What I/O model does the program utilize?

Kuphryn

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.

GameDev.net 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!