Skip to main content
GameDev.net gamedev.net
🔒 Locked

Async Server?

Started by EmpyrealHell Jan 23, 2004 at 12:25 AM 0 replies 650+ views
Original Post
EmpyrealHell
EmpyrealHell
I''m trying to write a program with multiplayer that will function similar to StarCraft. A person creates a server, the server is also one of the players, not a dedicated server. They give it the name of the game. The Server broadcasts the data out on udp to 255.255.255.255. Client programs pick up the udp broadcasts and display that info the screen. That all works fine. Anytime a client tries to connect to the server, the server program crashes, with the error that WSAStartup has not been called successfully. any ideas?
kuphryn
kuphryn
Sounds like winsock on the server side never initialized correct. Add error management code and determine the error.

Kuphryn

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.