[ee122] strange recvfrom() error

Lisa Fowler fowler at eecs.berkeley.edu
Sun Dec 9 23:44:17 PST 2007


Hi Michelle-

I'll answer this offlist.

-Lisa

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.
>
> Thanks,
> Michelle
>
>


More information about the ee122 mailing list