Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

basic_socket::basic_socket

Construct a basic_socket without opening it.

explicit basic_socket(
    boost::asio::io_service & io_service);
  » more...

Construct and open a basic_socket.

basic_socket(
    boost::asio::io_service & io_service,
    const protocol_type & protocol);
  » more...

Construct a basic_socket, opening it and binding it to the given local endpoint.

basic_socket(
    boost::asio::io_service & io_service,
    const endpoint_type & endpoint);
  » more...

Construct a basic_socket on an existing native socket.

basic_socket(
    boost::asio::io_service & io_service,
    const protocol_type & protocol,
    const native_handle_type & native_socket);
  » more...

Move-construct a basic_socket from another.

basic_socket(
    basic_socket && other);
  » more...

PrevUpHomeNext