From: "Lee Chin" <leechin@mail.com>
To: hahn@physics.mcmaster.ca
Cc: linux-net@vger.kernel.org, linux-newbie@vger.kernel.org
Subject: Getting the MAC address of a client
Date: Thu, 10 Oct 2002 12:56:05 -0500 [thread overview]
Message-ID: <20021010175605.19028.qmail@mail.com> (raw)
Hello,
When my server application accepts a client socket connection, what is the easiest way to obtain the MAC address of the peer? I tried listing the ARP table but I did not see an entry for the IP address and MAC address of the client.
I want to avoid having to ping the client to get the ARP table populated
Thanks
Lee
--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
"Free price comparison tool gives you the best prices and cash back!"
http://www.bestbuyfinder.com/download.htm
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next reply other threads:[~2002-10-10 17:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-10 17:56 Lee Chin [this message]
2002-10-10 18:34 ` Getting the MAC address of a client Glynn Clements
2002-10-10 18:51 ` Ray Olszewski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021010175605.19028.qmail@mail.com \
--to=leechin@mail.com \
--cc=hahn@physics.mcmaster.ca \
--cc=linux-net@vger.kernel.org \
--cc=linux-newbie@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox