hi all
how i can obtain that which pc is "online" in my LAN,
if i know that my ip is : 10.0.0.1/24.
other question is which API function to obtain some information as all my IP addresses and their subnet mask . thanks.
Posted on 2006-06-25 07:16:29 by secmask
I think that the utility ping can be useful to you. You can dissassembling its with IDA :). But if say seriosly then Dinami?? Link Library Icmp.dll consist of function IcmpSendEcho(..). This function help to you.
Posted on 2006-06-25 15:34:20 by Bill_Prisoner
thank you , Bill
Posted on 2006-06-27 06:07:46 by secmask
- check out the nbtscan tool that uses netbios to find windows systems
- otherwise you might have a look at broadcasted packets
Dom

Posted on 2006-09-27 18:39:22 by Dom
Unfortunately some overzealous firewalls take it upon themselves to block broadcast pings - and some even block all pings, really annoying.

nbtscan looks like it could be a useful tool, as long as you only have windows machines (and unix machines with samba).

A generic "list all powered-on machines" that works regardless of firewalls might be a bit more of a challenge.
Posted on 2006-09-28 02:16:08 by f0dder
is there any open source ? i want to use it in my program.
thanks for help :D
Posted on 2006-09-28 08:33:14 by secmask