LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Get Mac From IP (https://www.linuxquestions.org/questions/programming-9/get-mac-from-ip-762181/)

c.0.d.e.r 10-15-2009 03:19 PM

Get Mac From IP
 
hi,
I have a very big problem... (I code at c++ in debian) Shortly: I have a web server for utm control panel... I have to get mac from ip... I use system command and get mac like this

arp -a | fgrep CLIENTIP > myfile

and than I read this file and get mac... BUT if ı have many user, linux give mac too along time :( so I have to do new think... Can you give any idea..

Thanks for reply. Sory my english...

c.0.d.e.r 10-15-2009 03:21 PM

Sory... Im using SOCK_STREAM for web server...


All times are GMT -5. The time now is 04:16 PM.