Re: Query on UDP Sockets on Linux.

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Jun 26 2000 - 08:17:18 EST


> > > It would probably make sense to set shutdown flags in flush and do a
> > > sk->state_change();
> >
> > That breaks inetd
>
> In which way ?

        Server Client

        accept
        fork -------------------------->
        close fd begin using fd
        calls flush method
        sets shutdown flag
                                                        dies horribly

Alan

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



This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:08 EST