W3C home > Mailing lists > Public > www-talk@w3.org > March to April 1995

domainname

From: Rupesh Kapoor <rupesh@henna.iitd.ernet.in>
Date: Sun, 9 Apr 1995 14:46:33 +0530 (IST)
To: www-talk@www10.w3.org
Message-Id: <Pine.SOL.3.91.950409144013.3017A-100000@kriti>
Could anyone help me out on how to get the internet domain of my host 
(using a system call/lib function). I know that getdomainname returns the 
NIS domain, but that's not what I want.

Basically, I need to check if the given URL refers to the current host or 
somewhere else (my slogan: No Robots Please!). Any other suggestion in this 
regard?

Thanx in advance
Rupesh
rupesh@shaktiweb.com
Received on Sunday, 9 April 1995 05:35:08 UTC

This archive was generated by hypermail 2.4.0 : Monday, 20 January 2020 16:08:16 UTC