WinSock
#include <windows.h>#include <iostream.h>
void main () {
WSADATA info;
if (WSAStartup(MAKEWORD(1,1), &info) != 0)
cout << "Cannot initialize WinSock!" << endl;
WSACleanup();
}
--------------------Configuration: WinSock - Win32 Debug--------------------
Compiling...
WinSock.cpp
Linking...
WinSock.obj : error LNK2001: unresolved external symbol _WSACleanup@0
WinSock.obj : error LNK2001: unresolved external symbol _WSAStartup@8
Debug/WinSock.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
WinSock.exe - 3 error(s), 0 warning(s)
Hjælp ?
/Kenneth
