From: "Lee Chin" <leechin@mail.com>
To: hahn@physics.mcmaster.ca, leechin@mail.com, linux-newbie@vger.kernel.org
Subject: Getting the IP address of a UDP client
Date: Fri, 03 Jan 2003 13:43:26 -0500 [thread overview]
Message-ID: <20030103184326.96367.qmail@mail.com> (raw)
Hi
I can use getpeername to get the IP address of a client on a connected TCP socket, but when I have a UDP client that just sent me a packet, how do I get the IP address of that UDP client?
Thanks
Lee
--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
Meet Singles
http://corp.mail.com/lavalife
-
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:[~2003-01-03 18:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-03 18:43 Lee Chin [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-01-03 19:03 Getting the IP address of a UDP client Lee Chin
2003-01-04 0:13 ` Elias Athanasopoulos
2003-01-04 0:22 ` Lee Chin
[not found] <Pine.LNX.4.44.0301031930470.29107-100000@coffee.psychology.mcmaster.ca>
2003-01-04 2:26 ` Lee Chin
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=20030103184326.96367.qmail@mail.com \
--to=leechin@mail.com \
--cc=hahn@physics.mcmaster.ca \
--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