Автор: AndreyCh (02.10.2008 в 20:57)
A typical BSD sockets program has a block of #includes near the top like this:
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
For Winsock, you don't need any of these. Instead, you just need to include winsock.h. (Or, if you need Winsock 2-specific functionality, winsock2.h.)
для виндов тебе нужен winsock.h
см. - http://tangentsoft.net/wskfaq/articles/bsd-compatibility.html