Hello,
5th param of WSARecvFrom isn't a DWORD but a DWORD*.
try this:
DWORD flags = 0;
iRet=WSARecvFrom(m_socket,&wsaRecvBuf,1 ,&ret,&flags,(SOCKADDR*)&m_faraddr,&iLen,NULL,NULL);
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 4 of 4
Threaded View
|
Click Here to Expand Forum to Full Width |