Being able to incorporate any computers IP address in to a program loaded on to that computer

Joined
May 11, 2023
Messages
1
Reaction score
0
Hi all, Newby to coding. I would like to be able to write a program that takes the IP address of the host computer ( imports it in to the progrram ) and compares it to a stored IP address. I researched and found the address is in /etc/hosts, ?? Many protocols, couldnt see it.
Any thoughts please.
 
Joined
Sep 4, 2022
Messages
129
Reaction score
16
Hi !


check by the ARP protocol.
ARP retrieves all IP in the nearhood

ARP refresh every 30 seconds by default.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,787
Messages
2,569,630
Members
45,335
Latest member
Tommiesal

Latest Threads

Top