To whomever can give me help:
I'm making a network application, and I was wondering how to find out what socket last received data...
For example, I declared an array of sockets (CASyncSockets)
CMySocket m_sSockArr[5];
and I can't find out which of these sockets received the data last...
How...
I'm in quite a mess with my little chat server application. Before it ran just fine, but now when I run it, I get an error when I call the OnReceive() function.
here is the code:
// ~~paste line~~//
void CNetspan2Dlg::OnReceive()
{
char *pBuf = new char[1025];
int iBufSize = 1024;
int...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.