according to MSDN
so my send function returns the number of character it sends to server....(which is exactly equal to number of char i am passing)Quote:
If no error occurs, Send returns the total number of characters sent. (Note that this can be less than the number indicated by nBufLen.) Otherwise, a value of SOCKET_ERROR is returned, and a specific error code can be retrieved by calling GetLastError. The following errors apply to this member function:
but still at the server end i am not able to receive those character...
Receive function returns -1...........
could somebody send me a small code for using CArchive class for data transfer........
i tried a lot with the help of MSDN
thanks in advance
vishal:(
