aaronk Well-Known Member Licensed User Longtime User Mar 22, 2018 #1 Hi, Just wondering if anyone has done any network scanners in B4i ? I am aiming to scan a network to see what IP addresses are active on a network. Would creating multiple threads and then pinging IP addresses be the best way or is there a better way to scan all IP addresses on a network subnet to see if it's active or not ?
Hi, Just wondering if anyone has done any network scanners in B4i ? I am aiming to scan a network to see what IP addresses are active on a network. Would creating multiple threads and then pinging IP addresses be the best way or is there a better way to scan all IP addresses on a network subnet to see if it's active or not ?
Erel B4X founder Staff member Licensed User Longtime User Mar 22, 2018 #2 You don't need to create multiple threads as all the network related libraries are already multithreaded internally. Upvote 0
You don't need to create multiple threads as all the network related libraries are already multithreaded internally.
aaronk Well-Known Member Licensed User Longtime User Mar 22, 2018 #3 Would the best way to ping all the IP addresses or is there another way in detecting the IP addresses if they are active ? I know some devices block the IP address from being pinged. Upvote 0
Would the best way to ping all the IP addresses or is there another way in detecting the IP addresses if they are active ? I know some devices block the IP address from being pinged.
MarkusR Well-Known Member Licensed User Longtime User Mar 22, 2018 #4 ping did not work at all. dhpc server whould know ip adresses. https://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol you can filter network packtes and read her ip. https://en.wikipedia.org/wiki/Network_packet 11. 32 bits that contain the source IP address, 12. 32 bits that contain the destination address. Click to expand... Upvote 0
ping did not work at all. dhpc server whould know ip adresses. https://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol you can filter network packtes and read her ip. https://en.wikipedia.org/wiki/Network_packet 11. 32 bits that contain the source IP address, 12. 32 bits that contain the destination address. Click to expand...
Erel B4X founder Staff member Licensed User Longtime User Mar 23, 2018 #5 Note that there is no "ping" functionality in iNetwork library. Upvote 0