Click to See Complete Forum and Search --> : Network question
Celery
Jul 6th, 2000, 01:02 PM
Hi!
How can I find out IP of every computer connected to the local network and if possible names of those computers.
Can anyone please post an example or at least tell me how can I get names and IP addresses?
Thanx in advance for any answer
Celery
HaxSoft
Jul 7th, 2000, 06:15 AM
From each computer, individually, you can use the Windows API function called GetComputerName to obtain the computer name, but I am sure there is some method of getting the IP (other than WINIPCFG from the Start\Run).
I think you should post this question in the Windows API forum. Those cool hackers must know the solution.
Hope this helps; otherwise, write back here.
Celery
Jul 7th, 2000, 03:53 PM
Thanx for your reply HaxSoft, but that's not what I was looking for.
I need to find out IP of every computer that is currently connected to the LAN network and display their IP or computer name in a listbox, so that user could select one and send him a message(I already know how to send messages).
I would appreciate any anwer - with or without an examle - if anyone out there knows how to do that.
Celery
noone
Jul 7th, 2000, 05:41 PM
Hey, I'm not sure how much help this is, but if you do the command net view at DOS prompt I believe you get a list of all the connected computers. It may be possible to run that program and parse the results. Or you may find a better way.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.