Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2006 21:26:36 +0100
From:      "Niall Douglas" <s_sourceforge@nedprod.com>
To:        freebsd-threads@freebsd.org
Subject:   recvfrom() not a thread cancellation point
Message-ID:  <442D9E8C.7186.4BAD0@s_sourceforge.nedprod.com>

next in thread | raw e-mail | index | archive | help
Hi,

How do I receive UDP packets using recvfrom() when it would seem that 
recvfrom() is not a thread cancellation point on FreeBSD 6.0?

Is there an alternative method of receiving UDP packets which is 
thread cancellable? The best I can see is using plain read() but this 
of course won't return the sender of the UDP packet.

Cheers,
Niall






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?442D9E8C.7186.4BAD0>