Boost logo

Boost Users :

Subject: [Boost-users] Get IP address of a client
From: Rouven Walter (Cyraid_at_[hidden])
Date: 2010-05-19 08:26:17


 
Hello,

I use the asio boost library for network traffic. Is there a way to get the IP address of a client directly if the server receives data over a socket object, so that the IP address has not to be sent within the data.
Normally this should be possible, since TCP pakets holds the ip address of receiver and sender in the header information. But how can I get these header information with the asio library?

Best Regards, Cyraid
  

NEU: WEB.DE DSL für 19,99 EUR/mtl. und ohne Mindest-Laufzeit!   
http://produkte.web.de/go/02/

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net