0

I am working on a program that sends ARP requests, it basically asks all the ip's on a network what their mac adress is. So i need the program to wait for 100 miliseconds for a response, otherwise ask the next mac adress what its mac is.

9
  • dup stackoverflow.com/questions/2566073/… Commented May 12, 2013 at 1:36
  • Search engine is your good friend. Commented May 12, 2013 at 1:44
  • @AdamLiss it does not answer my question, i do not want it to sleep because if it sleeps, i will not listen to the ARP response (the device's mac adress), i am trying the select() function but i am not sure on how it works. Commented May 12, 2013 at 1:45
  • @ÁngelCáceresLicona So you may use another thread to watch events. Commented May 12, 2013 at 1:46
  • stackoverflow.com/search?q=use+select+to+wait Commented May 12, 2013 at 1:51

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.