Jump to content
  • Advertisement
Sign in to follow this  

Dedicated server on win32

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

Im writing a dedicated server on win32 using the DirectPlay API. The problem I have is that I need to give the server commands while it is running, like kick player, terminate and such. I have been considering to let the server create a thread, and let that thread use the winsock interface to listen on some "admin" port. Then I could use a telnet session to communicate with the server and eventually terminate it by setting a flag or something. Anyone have other ideas of how to do this? Does anyone have info/links to info about how to take advantage of the services system that comes with win2k/XP? (the one located under control panel)

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!