On 9/26/05, James Hawkins truiken@gmail.com 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 complained that socket is not a function. I looked through winsock2.h and couldn't find the prototype. It turns out the
It turns out it's my fault..really silly actually. I didn't realize that I named the variable socket. Sorry about all the noise :)
-- James Hawkins