LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-15-2009, 03:19 PM   #1
c.0.d.e.r
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Rep: Reputation: 0
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...
 
Old 10-15-2009, 03:21 PM   #2
c.0.d.e.r
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Sory... Im using SOCK_STREAM for web server...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ethernet MAC Addresses database; MAC address-based processing cctualatin Linux - Newbie 1 04-14-2009 08:59 AM
Linux / UNIX OS for Motorola RAZR v3 -- Sync it with OpenBSD 4.2/Mac 10.5/Mac 10.3 Doctorzongo Linux - Laptop and Netbook 0 04-30-2008 01:27 AM
How can I read the Mac part of a Win/Mac CD? tredegar Linux - Software 4 02-02-2008 03:58 AM
LXer: Linux vs. Mac: Should I Get a Mac? LXer Syndicated Linux News 0 09-24-2007 02:30 AM
Mac fans! A few questions about an old Mac... Mega Man X General 11 01-03-2007 09:01 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration