On Fri, 16 Jul 1999, Dr. Michael Weller wrote:
> a) I don't know to what extent async io is supported by sockets esp. when
> it comes to incoming connections. Let's assume it is supported.
linux/net/ipv4/tcp_ipv4.c:1508 (tcp_v4_syn_recv_sock) kernel 2.2.10:
sk->data_ready(sk, 0); /* Deliver SIGIO */
Seems to be supported here.
> b) The second argument of listen tells the kernel how many incoming
> connections in non connected, 'embryonic' state it shall handle. This
> it the size of the incoming queue buffers which are required as several
> SYN packets have to be exchanged with the possible connector before a
> connection is established and an accept() can actually succeed.
> This means, you allow at most 0 incoming connections in embryonic
> state. It seems not very surprising to me that you don't receive any
> SIGIO's upon connection attempt.
Nope. The connection goes through. But changing the listen() argument
doesn't fix things.
Taral
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]