template <>

class WireWeakSyncClientImpl

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

Public Methods

::fidl::WireResult< ::fuchsia_posix_socket::Provider::StreamSocketWithOptions> StreamSocketWithOptions (::fuchsia_posix_socket::wire::Domain domain, ::fuchsia_posix_socket::wire::StreamSocketProtocol proto, ::fuchsia_posix_socket::wire::SocketCreationOptions opts)

Requests a stream socket with the specified parameters and the creation

options.

Allocates 120 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_posix_socket::Provider::StreamSocket> StreamSocket (::fuchsia_posix_socket::wire::Domain domain, ::fuchsia_posix_socket::wire::StreamSocketProtocol proto)

Requests a stream socket with the specified parameters.

Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_posix_socket::Provider::DatagramSocketDeprecated> DatagramSocketDeprecated (::fuchsia_posix_socket::wire::Domain domain, ::fuchsia_posix_socket::wire::DatagramSocketProtocol proto)

Requests a datagram socket with the specified parameters.

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

Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_posix_socket::Provider::DatagramSocket> DatagramSocket (::fuchsia_posix_socket::wire::Domain domain, ::fuchsia_posix_socket::wire::DatagramSocketProtocol proto)

Requests a datagram socket with the specified parameters.

Allocates 72 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_posix_socket::Provider::DatagramSocketWithOptions> DatagramSocketWithOptions (::fuchsia_posix_socket::wire::Domain domain, ::fuchsia_posix_socket::wire::DatagramSocketProtocol proto, ::fuchsia_posix_socket::wire::SocketCreationOptions opts)

Requests a datagram socket with the specified parameters and the creation

options.

Allocates 136 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_posix_socket::Provider::InterfaceIndexToName> InterfaceIndexToName (uint64_t index)

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

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

Allocates 88 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_posix_socket::Provider::InterfaceNameToIndex> InterfaceNameToIndex (::fidl::StringView name)

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

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

Allocates 88 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_posix_socket::Provider::InterfaceNameToFlags> InterfaceNameToFlags (::fidl::StringView name)

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

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

Allocates 80 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_posix_socket::Provider::GetInterfaceAddresses> GetInterfaceAddresses ()

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

describing the network interfaces on the system.

Allocates 16 bytes of request buffer on the stack. Response is heap-allocated.