Re: Possible bug with poll syscall

Alex Baretta (alex@baretta.com)
Sat, 10 Mar 2001 17:12:35 +0100


Alex Baretta wrote:
>
> I am using poll with the POLLIN flag to wait for connection
> requests on a set of listening sockets in a server process.
> Although clients attempt to connect to those sockets, poll does
> returns zero after the expiration of the timeout.

The very same thing happens if I use select. It seems highly
unlikely that this should be the specified behavior of poll and
select alike. Is one now forced to used threads to manage multiple
ports?

Greetings,

Alex Baretta
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/