Page 1 of 1 1
Topic Options
#18135 - 2002-03-02 12:38 AM ip address to computer name??
tonyh Offline
Getting the hang of it

Registered: 2002-01-09
Posts: 55
Loc: UK
is there a short way to covert an ipaddress into a computers netbios/computer name??

cheers

Tony

_________________________
Tonyh

Top
#18136 - 2002-03-01 01:57 PM Re: ip address to computer name??
Breaker Offline
Hey THIS is FUN
*****

Registered: 2001-06-15
Posts: 268
Loc: Yorkshire, England
WINS is quite good...

Perhaps a little context would be useful. What ae you trying to do exactly?

_________________________
================================================
Breaker


Top
#18137 - 2002-03-01 02:04 PM Re: ip address to computer name??
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
It's been done a few different ways, but it's not simple.

You either need to go through a ping / parse cycle or use an additional DLL.

Try a search of the forums to find previous solutions, here's a pointer to get you started:
GetHostByAddr

The 3rd post has a sample script to get the DNS name from "ping".

There is also a DLL knocking about here.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.055 seconds in which 0.03 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org