Boost logo

Boost :

Subject: [boost] [asio] ICMP on Mac Os X Leopard + Snow Leopard
From: Marco De Angelis (thorar_at_[hidden])
Date: 2010-01-07 08:40:47


Dear Asio developers,

I tried the ICMP ping example (http://www.boost.org/doc/libs/1_40_0/doc/html/boost_asio/examples.html) of Boost 1.40.0, and it fails to work on both Mac Os X Leopard and Snow Leopard, with

marco$ sudo ./ping google.com
Exception: Socket type not supported

I already use many other features of Asio in the project, therefore I would exclude any problem related to compilation, linking, permissions, network visibility, etc.
Is the ICMP feature implemented for Mac Os X platforms? If so, any idea why I receive the exception or where can I start investigating?

Best regards,
Marco De Angelis


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk