Forum
C/C++ Winsock help
C/C++ Winsock help
6 replies
1

1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
#include <winsock.h>
{
WSADATA wsaData; // If this doesn't work
// WSAData wsaData; // then try this instead.
// MAKEWORD(1,1) for Winsock 1.1, MAKEWORD(2,0) for Winsock 2.0:
if (WSAStartup(MAKEWORD(1,1), &wsaData) != 0)
{
fprintf(stderr, "WSAStartup failed.\n");
exit(1);
}
Quote
That's some pretty interesting stuff about WinSock. But what's FIFO? I almost misinterpreted it as FIFA (as in soccer/football), lol.
@KimKat
FIFO is the acronym of "first in, first out".
1

Offline
