template <>

class NaturalClientImpl

Defined at line 343 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/natural_messaging.h

Public Methods

::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::Provider::StreamSocketWithOptions> StreamSocketWithOptions (::fidl::Request< ::fuchsia_posix_socket::Provider::StreamSocketWithOptions> request)

Requests a stream socket with the specified parameters and the creation

options.

::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::Provider::StreamSocket> StreamSocket (const ::fidl::Request< ::fuchsia_posix_socket::Provider::StreamSocket> & request)

Requests a stream socket with the specified parameters.

::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::Provider::DatagramSocketDeprecated> DatagramSocketDeprecated (const ::fidl::Request< ::fuchsia_posix_socket::Provider::DatagramSocketDeprecated> & request)

Requests a datagram socket with the specified parameters.

TODO(https://fxbug.dev/42165881): Remove this method once no more callers rely on it.

::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::Provider::DatagramSocket> DatagramSocket (const ::fidl::Request< ::fuchsia_posix_socket::Provider::DatagramSocket> & request)

Requests a datagram socket with the specified parameters.

::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::Provider::DatagramSocketWithOptions> DatagramSocketWithOptions (::fidl::Request< ::fuchsia_posix_socket::Provider::DatagramSocketWithOptions> request)

Requests a datagram socket with the specified parameters and the creation

options.

::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::Provider::InterfaceIndexToName> InterfaceIndexToName (const ::fidl::Request< ::fuchsia_posix_socket::Provider::InterfaceIndexToName> & request)

Looks up an interface by its index and returns its name. Returns

`ZX_ERR_NOT_FOUND` if the specified index doesn't exist.

::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::Provider::InterfaceNameToIndex> InterfaceNameToIndex (const ::fidl::Request< ::fuchsia_posix_socket::Provider::InterfaceNameToIndex> & request)

Looks up an interface by its name and returns its index. Returns

`ZX_ERR_NOT_FOUND` if the specified name doesn't exist.

::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::Provider::InterfaceNameToFlags> InterfaceNameToFlags (const ::fidl::Request< ::fuchsia_posix_socket::Provider::InterfaceNameToFlags> & request)

Looks up an interface by its name and returns its flags. Returns

`ZX_ERR_NOT_FOUND` if the specified name doesn't exist.

::fidl::internal::NaturalThenable< ::fuchsia_posix_socket::Provider::GetInterfaceAddresses> GetInterfaceAddresses ()

Requests a list of [`fuchsia.posix.socket.InterfaceAddresses`]

describing the network interfaces on the system.