Dedicated server on win32
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)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement