From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Lee Chin" Subject: Getting the IP address of client UDP socket Date: Thu, 02 Jan 2003 14:57:33 -0500 Sender: linux-newbie-owner@vger.kernel.org Message-ID: <20030102195734.96342.qmail@mail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii" To: hahn@physics.mcmaster.ca, linux-newbie@vger.kernel.org Hi, For a TCP socket, I can call getpeername and get the clients IP address... how do I find the IP address of the client in a UDP socket? 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