Linux Newbie help
 help / color / mirror / Atom feed
* Getting the IP address of a UDP client
@ 2003-01-03 18:43 Lee Chin
  0 siblings, 0 replies; 5+ messages in thread
From: Lee Chin @ 2003-01-03 18:43 UTC (permalink / raw)
  To: hahn, leechin, linux-newbie

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

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Getting the IP address of a UDP client
@ 2003-01-03 19:03 Lee Chin
  2003-01-04  0:13 ` Elias Athanasopoulos
  0 siblings, 1 reply; 5+ messages in thread
From: Lee Chin @ 2003-01-03 19:03 UTC (permalink / raw)
  To: hahn, linux-newbie

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

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
-
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

^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <Pine.LNX.4.44.0301031930470.29107-100000@coffee.psychology.mcmaster.ca>]

end of thread, other threads:[~2003-01-04  2:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-03 18:43 Getting the IP address of a UDP client Lee Chin
  -- strict thread matches above, loose matches on Subject: below --
2003-01-03 19:03 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox