network

Description

Specializations

Methods

~network ( )

conveyor < own< network_address < T > > >

resolve_address ( const std::string &, uint16_t )

error_or < own< network_address < T > > >

parse_address ( const std::string &, uint16_t )

own< server < T > >

listen ( network_address < T > & )

conveyor < own< io_stream < T > > >

connect ( network_address < T > & )

own< datagram < T > >

bind_datagram ( network_address < T > & )


Methods Description

~network ( )


conveyor < own< network_address < T > > > resolve_address ( const std::string &, uint16_t )

Resolve the provided string and uint16 to the preferred storage method

error_or < own< network_address < T > > > parse_address ( const std::string &, uint16_t )


own< server < T > > listen ( network_address < T > & )

Parse the provided string and uint16 to the preferred storage method Since no dns request is made here, no async conveyors have to be used. Todo implement

conveyor < own< io_stream < T > > > connect ( network_address < T > & )

Connect to a remote address

own< datagram < T > > bind_datagram ( network_address < T > & )

Bind a datagram socket at this address.