On Sun, Nov 10, 2013 at 2:32 AM, mpb wrote:
> Hi LKML,
>
> I have a C/pthreads program with two threads ("main" and "thread").
> "thread" calls recvfrom on a connected UDP socket and blocks, waiting
> for input. "main" then calls shutdown SHUT_RD on the socket. In
> "thread", recvfrom returns, a
Hi LKML,
I have a C/pthreads program with two threads ("main" and "thread").
"thread" calls recvfrom on a connected UDP socket and blocks, waiting
for input. "main" then calls shutdown SHUT_RD on the socket. In
"thread", recvfrom returns, apparently successfully, returning a zero
length string,
2 matches
Mail list logo