asio C++ library

PrevUpHomeNext

seq_packet_socket_service

Default service implementation for a sequenced packet socket.

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

Name

Description

endpoint_type

The endpoint type.

implementation_type

The type of a sequenced packet socket implementation.

native_handle_type

The native socket type.

native_type

(Deprecated: Use native_handle_type.) The native socket type.

protocol_type

The protocol type.

Member Functions

Name

Description

assign

Assign an existing native socket to a sequenced packet socket.

async_connect

Start an asynchronous connect.

async_receive

Start an asynchronous receive.

async_send

Start an asynchronous send.

at_mark

Determine whether the socket is at the out-of-band data mark.

available

Determine the number of bytes available for reading.

bind

Bind the sequenced packet socket to the specified local endpoint.

cancel

Cancel all asynchronous operations associated with the socket.

close

Close a sequenced packet socket implementation.

connect

Connect the sequenced packet socket to the specified endpoint.

construct

Construct a new sequenced packet socket implementation.

converting_move_construct

Move-construct a new sequenced packet socket implementation from another protocol type.

destroy

Destroy a sequenced packet socket implementation.

get_io_service

Get the io_service object that owns the service.

get_option

Get a socket option.

io_control

Perform an IO control command on the socket.

is_open

Determine whether the socket is open.

local_endpoint

Get the local endpoint.

move_assign

Move-assign from another sequenced packet socket implementation.

move_construct

Move-construct a new sequenced packet socket implementation.

native

(Deprecated: Use native_handle().) Get the native socket implementation.

native_handle

Get the native socket implementation.

native_non_blocking

Gets the non-blocking mode of the native socket implementation.

Sets the non-blocking mode of the native socket implementation.

non_blocking

Gets the non-blocking mode of the socket.

Sets the non-blocking mode of the socket.

open

Open a sequenced packet socket.

receive

Receive some data from the peer.

remote_endpoint

Get the remote endpoint.

send

Send the given data to the peer.

seq_packet_socket_service

Construct a new sequenced packet socket service for the specified io_service.

set_option

Set a socket option.

shutdown

Disable sends or receives on the socket.

Data Members

Name

Description

id

The unique service identifier.

Requirements

Header: asio/seq_packet_socket_service.hpp

Convenience header: asio.hpp


PrevUpHomeNext