www.digitalmars.com         C & C++   DMDScript  

c++.command-line - Sockets

reply Tony <Tony_member pathlink.com> writes:
When trying to compile a C++ file which includes Sockets commands, I am getting
these type of errors:
Error 42: Symbol Undefined _closesocket 4
Error 42: Symbol Undefined _send 16

I must be forgetting something very minor!
Apr 29 2005
parent reply Arjan Knepper <arjan ask.me> writes:
Tony wrote:
 When trying to compile a C++ file which includes Sockets commands, I am getting
 these type of errors:
 Error 42: Symbol Undefined _closesocket 4
 Error 42: Symbol Undefined _send 16
 
 I must be forgetting something very minor!
 
 
forgetting to link against ws2_32.lib?
Apr 30 2005
parent Tony <Tony_member pathlink.com> writes:
In article <d4vrkd$9g1$1 digitaldaemon.com>, Arjan Knepper says...

forgetting to link against ws2_32.lib?
Most likely. How do I do that?
Apr 30 2005