Sign in to follow this  
pulpfist

Dedicated server on win32

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this