Has anyone used sockets with gcc/win32? Including <windows.h> doesn't define symbols such as AF_INET, and including <sys/socket.h> makes the compiler stop on errors. Sam -- Samuel Tardieu -- sam@inf.enst.fr - For help on using this list, send a message to "gnu-win32-request@cygnus.com" with one line of text: "help".