[ee122] strange recvfrom() error
fowler at eecs.berkeley.edu
Sun Dec 9 23:44:17 PST 2007
I'll answer this offlist.
On Dec 9, 2007 11:41 PM, Michelle Au <michelleau at berkeley.edu> wrote:
> 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.
More information about the ee122