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.
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.
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.
thank you , Bill
- check out the nbtscan tool that uses netbios to find windows systems
- otherwise you might have a look at broadcasted packets
Dom
- otherwise you might have a look at broadcasted packets
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.
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.
is there any open source ? i want to use it in my program.
thanks for help :D
thanks for help :D