|
Boost Users : |
Subject: [Boost-users] [asio] ICMP protocol support
From: Chris Miceli (cmicel1_at_[hidden])
Date: 2009-06-30 23:10:19
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
I am attempting to use the ICMP protocol that is "off-the-shelf" in
Boost.Asio, but am unable to get any use of it working. Following the
code listed here:
http://www.boost.org/doc/libs/1_36_0/doc/html/boost_asio/overview/networking/protocols.html
I immediately run into problems. The DAYTIME protocol is defined to
operate on TCP or UDP port 13. ICMP should be used for control
messages, not data transmission. Trying to connect to a server
supported DAYTIME with ICMP does not work using the code at the
previously mentioned site, this error is returned:
Service not found
Which makes sense because this service is not defined for this
protocol. My question is, what is the intended purpose of the current
implementation of this protocol? If to use ICMP to tranfer data by
using the payload, why? If to construct messages useful for writing a
traceroute or ping utility, how would I do this? Has anyone used this
library? Online there is a desire to use boost.Asio and ICMP to write
ping using boost, but they all reach these same questions. I am
appreciative of any help on this topic.
- -Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREKAAYFAkpK05UACgkQS3i4IU3+Scsw2QCbBAQpHwqzTqIvn3hVunI6bnK9
Z6AAn0EfsRAwPbon8jJYVotEe6awn7Xy
=/gWa
-----END PGP SIGNATURE-----
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