What are the major differences between winsock and BSD socket implementations.
Thanks for the link.
Ankur
2009-09-05 15:35:42
+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
2009-09-05 13:13:33