SOCK_SEQPACKET support in Boost :: asio

Is there any support for creating Unix domain sockets with the SOCK_SEQPACKET parameter in boost asio? I did not find in the official link, but maybe there are workarounds?

+3
source share
2 answers

Well, I found a thing that was added in boost 1.54.0. It is called generic :: seq_packet_protocol . During initialization, how seq_packet_protocol(AF_UNIX, 0))it creates an object that can be used to open sockets, create acceptors and endpoints. Thus, SCTP can be implemented in the same way.

0
source

You have to look boost::asio::seq_packet_socket_service,

template<typename Protocol>
class seq_packet_socket_service : public io_service::service

http://www.boost.org/doc/libs/1_50_0/doc/html/boost_asio/reference/seq_packet_socket_service.html

+1

All Articles