Read and respond to this message at:
> socket.o(.text+0x3fa):Socket.cpp: undefined reference to `closesocket@...'
You need to link to the appropriate library, which you
can probably determine with
/MinGW/bin/nm --print-file-name /MinGW/lib/lib*.a |grep closesocket
> main.c: undefined reference to `WinMain@...'
You need to define a main() function.
> #ifndef __SOCKET_H__
> #define __SOCKET_H__
This appears to be a header that was renamed.
Probably you want to #include it in a .cpp file which
defines a main() function that uses the classes
defined in this header.
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: