Re: winsock2 header missing function prototypes

2005-09-26 Thread James Hawkins
On 9/26/05, James Hawkins <[EMAIL PROTECTED]> wrote: > Hey, > > While trying out example code from msdn covering windows sockets, I > ran into a problem with the winsock2.h header. The example only > included winsock2.h and used the socket() function. While compiling > with winelib, gcc complaine

winsock2 header missing function prototypes

2005-09-26 Thread James Hawkins
Hey, While trying out example code from msdn covering windows sockets, I ran into a problem with the winsock2.h header. The example only included winsock2.h and used the socket() function. While compiling with winelib, gcc complained that socket is not a function. I looked through winsock2.h an