TCP wrapper class.
Object
new(daemon, server,
ident_lookup = false, ident_timeout = 30)
Creates a new TCPWrapper object.
daemon is the name of the daemon process.
server is the TCPServer object.
If ident_lookup is true, tries to connect to a remote IDENT server
to get the user name of the client in accept
.
ident_timeout is the timeout for ident_id(3),
and is given in seconds.
accept
Accepts the request for the connection, and returns the TCPSocket
connected to the client.
accept
consults the access control tables described in
the hosts_access(5) manual page, and if access should
be denied, closes the socket and waits for the next request.