hi, do anybody know to display pc name refer with ip address we have.
The best you can get is the host name, which is available through gethostbyaddr()
anyway thanks for your help. actually i try to get the pc name (client pc) that login to my system not the hostname (web server name).