From: Eric Hodel Date: 2005-03-28T10:15:08+09:00 Subject: Re: TCPServer --Apple-Mail-1-521292712 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed 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. -- Eric Hodel - drbrain@segment7.net - http://segment7.net FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --Apple-Mail-1-521292712 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCR1qEMypVHHlsnwQRAm6dAKCQlgH1jlgRVKZVBnLxUF6KW4j2/gCeMFiB sS+iB54EbFZQ1wdtPLkX+hw= =+WBb -----END PGP SIGNATURE----- --Apple-Mail-1-521292712--