[ee122] strange recvfrom() error

Michelle Au michelleau at berkeley.edu
Sun Dec 9 23:41:23 PST 2007


I'm getting a strange error when calling recvfrom():

This is my call:
int numBytesRecv = recvfrom(socket,buffer,bufferLen,0,
                (struct sockaddr*)&destAddr, &destAddrLen);

numBytesRecv returns -1 and I've checked the errno flag to be set to:
EINVAL -- The MSG_OOB flag is set and no out-of-band data is available

I have no idea why I am getting this error.  If anybody could help that 
would be great.

Thanks,
Michelle



More information about the ee122 mailing list