tags:

views:

281

answers:

2

What are the major differences between winsock and BSD socket implementations.

+1  A: 

See this section of the documentation:

Porting Socket Applications to Winsock

binarycoder
Thanks for the link.
Ankur
+2  A: 

You might want to look here.
To that, I'd drop one more difference, winsocks supports overlapped I/O (with callbacks etc.) through functions like WSARecv (and other similar), which can make porting to bsd-sockets harder. Also, most functions in winsocks has their Wsa* counterpart, which sometimes offers more options (or at least requires more parameters ;) ), like recv and WSARecv.

Ravadre
Thank you. Good points you mentioned.
Ankur