Pino Toscano, le Wed 23 Nov 2011 16:42:41 +0100, a écrit :
> On Linux the address length is set to 0 by recvfrom(), so I guess that
> this kind of sockets have no address?
I'd say so, yes, and so recvfrom should gracefully set an empty address.
Samuel
Hi,
with the attached test source, I get SIGLOST in recvfrom().
Basically what happens in recvfrom() is the following:
- the __socket_recv() RPC returns a MACH_PORT_NULL 'addrport'
- execution goes inside the "if (addr != NULL)"
- the __socket_whatis_address() RPC fails beca