Winsock program hangs when using accept().

Hey all, I'm trying to make a multiplayer game, and I'm currently having issues where my program stops functioning whenever I try to call the accept() function of winsock. My code is here: (The code in question starts at line 436, and the call that breaks it is at 477. When I debug it it gets to that point, and then when that is called is just freezes, the little arrow that normally shows where the code is currently at disappears and I'm not really sure what happens. Sorry if I'm explaining this terribly, if more explanation is needed just tell me.
Thanks for your time!
accept() blocks until a client connects. Your program's not hung, it's waiting.
Topic archived. No new replies allowed.