Although this isn't really Java/linux related:
try:
InetAddress host = InetAddress.getByName ("bc.edu.pk");
host.getHostAddress ("bc.edu.pk");
Greets,
Ingo
On Mon, 7 May 2001, MCS-MAAT wrote:
> Respected fellows
> I am writing an application in Java. For which i need resolver
> which could translate the name of domain to its IP.
> eg.
> bc.edu.pk to 210.56.11.76
> is there any function of net package of java library regarding this
> problem which could directly perform this task. i have no idea
> please help me
> hoping for good response
> Mirza Abdul Ala Taimur
>
>
>
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
---------------------------------------------
Ingo Rockel, eMail: [EMAIL PROTECTED]
[EMAIL PROTECTED]
homePage: wolfsheim.x2.nu
---------------------------------------------
"If Windows is the answer, it must have been a stupid question!"
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]