Just made an attempt to create my first internet-program. I'm
relatively new, so this could be a very obvious issue. When I worked out all the errors that came up initially, I came up with this:

Compiling...
server.cpp
Linking...
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadex
Debug/server.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

server.exe - 3 error(s), 0 warning(s)


On a side-note, I've only included iostream and afxsock.h.. I couldn't figure out any other files I might include to fix that problem. Or maybe it's because I saved the .cpp, then let VC6 create its own workspace. Who knows. Do you? Help me, please.