There are numerous bugs in the Winsock control that were fixed in later service packs. Many of them relate to using multiple Winock controls and multiple connections.

However I'm only assuming that he's even using Winsock controls here.