home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 1702
Discussions: 188,402, Posts: 2,243,609, Members: 232,632
Old April 25th, 2005, 05:34 AM   Digg it!   #1 (permalink)
Junior Member
 
Join Date: Apr 2005
Posts: 2
Vb pinger and name collector

i have a program that i have writen and when it does it i pings all the comptuer 192.168.1.10 - 60 and then tells me if they are on or not.
This is great, but what i now want to do it be able to get there names also off the network, does any one know how to do this?

namit

Thanks

namit@eircom.net is offline   Reply With Quote
Old April 25th, 2005, 06:01 AM     #2 (permalink)
Ultimate Member
 
Join Date: Oct 2001
Posts: 21,026
I'm assuming you have DNS on your local network?

http://www.ostrosoft.com/dns.asp

A DNS control I use to resolve IP's to names and vice versa.

The worst case scenario would be to put ipconfig /all into a text file and parse it... but that would be cheesy
The control should work fine for you, I've used it several times and its free

vass0922 is offline   Reply With Quote
Old April 25th, 2005, 06:57 AM     #3 (permalink)
Retired mostly.
 
Join Date: Oct 2001
Location: Finland
Posts: 5,143
What if you just modify your program to do 'ping -a 192.168.1.10-60' istead of 'ping 192.168.1.10-60'.

-a should resolve (if resolvable) the ip to hostname.

muno is offline   Reply With Quote
Old April 25th, 2005, 07:20 AM     #4 (permalink)
Ultimate Member
 
Join Date: Oct 2001
Posts: 21,026
Good point, how are you doing the ping?
Tell me you're not dumping a command line out to a text file

WMI has a great pinger that works pretty well.
vass0922 is offline   Reply With Quote
Old April 25th, 2005, 03:19 PM     #5 (permalink)
Junior Member
 
Join Date: Apr 2005
Posts: 2
http://namit.org/ping/

look at this here its a rar file
namit@eircom.net is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyboard Collector surprise MaxVal Security and Privacy Issues 9 February 6th, 2004 03:34 PM
Newbie collector questions daveleau IMO Community 4 May 23rd, 2002 10:05 PM

Most Active Discussions
Is It Just Me? (2906)
3-days in and no threads about Gaza (161)
Misery Loves Company... (2144)
New Build ( Finally ) (7)
CPU wont boot (7)
Building a gaming computer advice (5)
I think I just killed my computer w.. (24)
RCA 52Inch HDTV wont turn on (5)
Folderchat Weekday thread (444)
Recent Discussions
Futronix has water features? (0)
Laptop proccesor to desktop mob.. (2)
Please help! multiple problems! (4)
RCA 52Inch HDTV wont turn on (5)
New Build ( Finally ) (7)
Common Spyware Solutions (97)
How do you move a hard-drive to.. (4)
What is the best external enclo.. (0)
Partition Magic 7.0 (Unallocate.. (17)
Blackberry Storm, Gears of War .. (1)
Core 2 Quad Q9550 system (3)
COWBOOM Ripoff! Used Laptop w/$.. (4)


All times are GMT -4. The time now is 04:31 AM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28