
I'm not sure exactly what I need just yet. I think remote client info is a good place to start. The thing is that I do not understand where to look. The socket seems to be created in this statement: Receiver::Receiver(int port) : socket(io_service, boost::asio::ip::udp::endpoint(boost::asio::ip::udp::v4(), port)), connected(false), listener(0) { } So is in "socket" somewhere? /Mats 2009/10/29 Jonathan Franklin <franklin.jonathan@gmail.com>:
On Thu, Oct 29, 2009 at 9:10 AM, Mats Carlsson <m.mcaber@gmail.com> wrote:
I'm trying to get the IP-header information from an IP-message sent using boost.
Which fields are you looking for? If you just want information about the remote (client) host, you can get that via the asio api when a connection is made.
If you're looking for more than that, then you need "raw" sockets, a la libpcap. The "regular" sockets api is at a higher level than network/transport protocol headers.
Jon _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users