S
Simon2005
Hi,
This is a segement of code taken from Warren Young's FAQ on Winsock @
http://tangentsoft.net/wskfaq/
struct Connection {
SOCKET sd;
char acBuffer[kBufferSize];
int nCharsInBuffer;
Connection(SOCKET sd_) : sd(sd_), nCharsInBuffer(0) { }
};
Any idea what the second last line means? Is it an initialiser or
something?
Thanks,
Simon
This is a segement of code taken from Warren Young's FAQ on Winsock @
http://tangentsoft.net/wskfaq/
struct Connection {
SOCKET sd;
char acBuffer[kBufferSize];
int nCharsInBuffer;
Connection(SOCKET sd_) : sd(sd_), nCharsInBuffer(0) { }
};
Any idea what the second last line means? Is it an initialiser or
something?
Thanks,
Simon