Boost logo

Boost :

From: Christopher Kohlhoff (chris_at_[hidden])
Date: 2007-11-04 16:56:30


On Sat, 03 Nov 2007 13:12:50 -0600, "David Deakins" <ddeakins_at_[hidden]>
said:
> Here is a set of patches which provides Windows CE support for the
> Boost.Asio library. Please let me know if anything doesn't make sense
> or seems out of place.

Thanks for the patches. I've made some changes based on them, although
in some cases I've taken a different approach. Please let me know if
there are problems with what I have done.

> boost/asio/socket_base.hpp:
> boost/asio/ip/unicast.hpp:
> boost/asio/ip/multicast.hpp:
> libs/asio/test/socket_base.cpp:
> libs/asio/test/ip/unicast.cpp:
> libs/asio/test/ip/multicast.cpp:
> WinCE does not support the SOL_SOCKET/SO_DEBUG, SOL_SOCKET/SO_DONTROUTE,
> IPPROTO_IP/IP_TTL, or IPPROTO_IP/IP_MULTICAST_LOOP options. The patches
> therefore do not define the socket_base::debug,
> socket_base::do_not_route, unicast::hops or multicast::enable_loopback
> types for WinCE. It was not clear whether this was the preferred method
> for handling unsupported options or whether the option types should
> still be defined and the related tests adjusted to show the options are
> expected to fail on WinCE.
> In addition, WinCE does not seem to support changing the receive buffer
> size with the SO_RCVBUF option, although you can get the receive buffer
> size with this option. The socket_base::receive_buffer_size tests were
> adjusted to reflect this behavior.

Does WinCE not have the #defines for these options? Or is it a runtime
failure? (And if so, what error gets reported?)

Cheers,
Chris


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