I am compiling C programs using Visual C++ 6.0. The compiles are with 0 errors but the linkage problems are many. Here they are. Do you know which libraries I need to include to eliminate these link problems? Thanks.
Linking...
Pcx.obj : error LNK2001: unresolved external symbol _closesocket@4
Pcx.obj : error LNK2001: unresolved external symbol _connect@12
Pcx.obj : error LNK2001: unresolved external symbol _WSACleanup@0
Pcx.obj : error LNK2001: unresolved external symbol _socket@12
Pcx.obj : error LNK2001: unresolved external symbol _htons@4
Pcx.obj : error LNK2001: unresolved external symbol _gethostbyname@4
Pcx.obj : error LNK2001: unresolved external symbol _WSAStartup@8
Pcx.obj : error LNK2001: unresolved external symbol _recv@16
Pcx.obj : error LNK2001: unresolved external symbol _send@16
Debug/Phillips.exe : fatal error LNK1120: 9 unresolved externals
Error executing link.exe.
Phillips.exe - 10 error(s), 0 warning(s)
Linking...
Pcx.obj : error LNK2001: unresolved external symbol _closesocket@4
Pcx.obj : error LNK2001: unresolved external symbol _connect@12
Pcx.obj : error LNK2001: unresolved external symbol _WSACleanup@0
Pcx.obj : error LNK2001: unresolved external symbol _socket@12
Pcx.obj : error LNK2001: unresolved external symbol _htons@4
Pcx.obj : error LNK2001: unresolved external symbol _gethostbyname@4
Pcx.obj : error LNK2001: unresolved external symbol _WSAStartup@8
Pcx.obj : error LNK2001: unresolved external symbol _recv@16
Pcx.obj : error LNK2001: unresolved external symbol _send@16
Debug/Phillips.exe : fatal error LNK1120: 9 unresolved externals
Error executing link.exe.
Phillips.exe - 10 error(s), 0 warning(s)