Read and respond to this message at:
I am using Eclipse with MinGW. I am trying to compile some sample C++ code
I found for working with sockets. At this point, I get a lot of errors when
it tries to link. Here is the command that goes out:
g++ -lwsock32 -o TTTClient.exe PracticalSocket.o main.o
Here are some of the errors:
undefined reference to `htons@...'
undefined reference to `WSAStartup@...'
undefined reference to `getsockname@...'
Can anyone point me in the right direction on this? I can give you more detail
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
Get latest updates about Open Source Projects, Conferences and News.