Yes, as Mara is mentioning.
Most likely you are passing a buffer that has not been allocated memory, or sock_recvmsg is indexing past the allowed memory in the buffer. Please check that the size you are specifying to sock_recvmsg is not larger than sizeof(msg), either that or you are using using char** instead of char*, then unexpected things happen when you do a &msg, or any variation of incorrect dereferencing.
Last edited by elyk1212; 12-23-2005 at 01:02 PM.
|