I fixed the problem. instead of using SIZEOF i just manually put i the bits in the RECV command.
is there anythign else i can use instead of SIZEOF
Code:recv(current_client,buf2,sizeof(buf2),0);
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 4 of 4
Thread: winsock recv() problemThreaded View
|
Click Here to Expand Forum to Full Width |