Winsock program hangs on accept() call
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: http://pastebin.com/HGhDgV4k (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!