What are the major differences between Winsock and *nix BSD socket implementations?
See this section of the documentation:
Porting Socket Applications to Winsock