| Constructor tries to connect to Identd daemon on the host of the
given socket, and retrieve user name of the owner of given socket
connection on remote machine. After constructor returns public
fields are initialised to whatever the server returned.
If user name was successfully retrieved successful is set to true,
and userName and hostType are set to whatever server returned. If
however for some reason user name was not obtained, successful is set
to false and errorCode contains the code explaining the reason of
failure, and errorMessage contains human readable explanation.
Constructor may block, for a while.
Parameters: s - Socket whose ownership on remote end should be obtained. |