i am building an irc server, and i need to know how to get the host name of the client...

is it winsock1.remotehost ?

or do i need to do something else?