Advertisement

Async Server?

Started by January 23, 2004 12:25 AM
0 comments, last by EmpyrealHell 21 years ago
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?
Sounds like winsock on the server side never initialized correct. Add error management code and determine the error.

Kuphryn

This topic is closed to new replies.

Advertisement