#ifndef __SOCKET_H__ #define __SOCKET_H__ #include <X11/Xwinsock.h> #include <Ws2tcpip.h> typedef unsigned in_addr_t; typedef unsigned short sa_family_t; typedef unsigned short in_port_t; #endif