On Sunday 27 March 2005 08:15 pm, Eric Hodel wrote:
> On 27 Mar 2005, at 15:17, David Corbin wrote:
> > Why is TCPServer inheriting from TCPSocket?  What methods on it might
> > be used
> > other than accept, and close?
>
> A TCP Server is just a socket you called listen(2) on:
>
>       To accept connections, a socket is first created with socket(2), a
> will-
>       ingness to accept incoming connections and a queue limit for
> incoming
>       connections are specified with listen(), and then the connections
> are
>       accepted with accept(2).  The listen() call applies only to
> sockets of
>       type SOCK_STREAM or SOCK_SEQPACKET.

Exactly my point.  So why does it inherit from TCPSocket, and more importanly 
IO? read, write and all the variations are all not applicable, as far as I 
can tell.

David