[7894] in www-talk@info.cern.ch

home help back first fref pref prev next nref lref last post

domainname

daemon@ATHENA.MIT.EDU (Rupesh Kapoor)
Mon Apr 10 16:09:02 1995

Date: Mon, 10 Apr 1995 15:43:46 +0500
Errors-To: procmaster@www19.w3.org
Reply-To: rupesh@henna.iitd.ernet.in
From: Rupesh Kapoor <rupesh@henna.iitd.ernet.in>
To: Multiple recipients of list <www-talk@www10.w3.org>

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

home help back first fref pref prev next nref lref last post