Hey,
I'm new at any of this kind of programming, but i have a problem and someone with knowledge about the whole sitution would be a great help
I am using a program and when i try to use a certain feature it says "error, winsockinit must be called first"...
Basically in simple terms how do i do this
Thanks
Mike
BTW im serious about the 5 pounds

I Will Give Anyone £5 Via Paypal If They Can Answer Me This Question
rkalantri
I'm as new to all this technical stuff as a sunburn is to a eskimo.
Would love it to be simple, but its almost like ur've gotta read a few books b4 u truely know wat ur doing
Mike
taheath
WORD wVersionRequested;
WSADATA wsaData;
int err;
wVersionRequested = MAKEWORD( 2, 2 );
err = WSAStartup( wVersionRequested, &wsaData );
if ( err != 0 ) {
/* Tell the user that we could not find a usable */
/* WinSock DLL. */
return;
}
/* do your thing here */
WSACleanup( );
LucLuc