[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] How do I get the client IP address?
- To: libevent-users@xxxxxxxxxxxxx
- Subject: [Libevent-users] How do I get the client IP address?
- From: Christian Dahlqvist <acdahlqvist@xxxxxxxxx>
- Date: Fri, 10 Dec 2010 10:51:52 +0000
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Fri, 10 Dec 2010 05:51:59 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=XtMxFdsDdJrTERFHvD7tTalir73yqBNIjOw8LaN1ZzA=; b=aph2DrI0VR6d1WVZYRIF0yjVNPPVthF7UKJWekczWuI5EALaxnMwgrfi42Pg3EGDl8 zVkIFz2kZe0yX8L7XqCAIgQkf42jMlitUXSbrDEp67lxN6lzUOL6BFV36/2cBooEEgeP ryaQZ7++lH0B4ruuiMZUKATxOyyqghDgL1iVo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=fcu9LWk92yBG3GE7hf7cxZqqbLDoBOsocqqujSqn/eplR8SO8Pua7m9x5vYxOtkTAo 7NiyMfoYtkmsuPKg+TRAHp5Tf6TzRPaNmJd3P0+I89+mtmIY9P17qRaYbAuM6E5DCCMs 4p8kABI8RpM0tDz3P4DrhE+ltsZTO1gQbPFyY=
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
Hi,
I am new to libevent, and am currently writing my first server using
libevent 2.0.x. I have been trying to find an example of how to get
the clients IP address when a new client connects, but have so far not
found any support for it in the libevent API. Can somepone please help
point me in the right direction?
Best regards,
Christian
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.