template <>
class WireWeakAsyncBufferClientImpl
Defined at line 124893 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/wire_messaging.h
Public Methods
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::Close> Close ()
Terminates the connection.
After calling `Close`, the client must not send any other requests.
Servers, after sending the status response, should close the connection
regardless of status and without sending an epitaph.
Closing the client end of the channel should be semantically equivalent
to calling `Close` without knowing when the close has completed or its
status.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::Query> Query ()
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetReuseAddress> SetReuseAddress (bool value)
Set `SOL_SOCKET` -> `SO_REUSEADDR`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetReuseAddress> GetReuseAddress ()
Get `SOL_SOCKET` -> `SO_REUSEADDR`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetError> GetError ()
Get `SOL_SOCKET` -> `SO_ERROR`.
Returns the last error if there is an error set on the socket.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetBroadcast> SetBroadcast (bool value)
Set `SOL_SOCKET` -> `SO_BROADCAST`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetBroadcast> GetBroadcast ()
Get `SOL_SOCKET` -> `SO_BROADCAST`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetSendBuffer> SetSendBuffer (uint64_t value_bytes)
Set `SOL_SOCKET` -> `SO_SNDBUF`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetSendBuffer> GetSendBuffer ()
Get `SOL_SOCKET` -> `SO_SNDBUF`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetReceiveBuffer> SetReceiveBuffer (uint64_t value_bytes)
Set `SOL_SOCKET` -> `SO_RCVBUF`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetReceiveBuffer> GetReceiveBuffer ()
Get `SOL_SOCKET` -> `SO_RCVBUF`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetKeepAlive> SetKeepAlive (bool value)
Set `SOL_SOCKET` -> `SO_KEEPALIVE`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetKeepAlive> GetKeepAlive ()
Get `SOL_SOCKET` -> `SO_KEEPALIVE`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetOutOfBandInline> SetOutOfBandInline (bool value)
Set `SOL_SOCKET` -> `SO_OOBINLINE`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetOutOfBandInline> GetOutOfBandInline ()
Get `SOL_SOCKET` -> `SO_OOBINLINE`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetNoCheck> SetNoCheck (bool value)
Set `SOL_SOCKET` -> `SO_NO_CHECK`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetNoCheck> GetNoCheck ()
Get `SOL_SOCKET` -> `SO_NO_CHECK`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetLinger> SetLinger (bool linger, uint32_t length_secs)
Set `SOL_SOCKET` -> `SO_LINGER`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetLinger> GetLinger ()
Get `SOL_SOCKET` -> `SO_LINGER`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetReusePort> SetReusePort (::fuchsia_posix_socket::wire::ReusePortOption value)
Set `SOL_SOCKET` -> `SO_REUSEPORT`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetReusePortDeprecated> SetReusePortDeprecated (bool value)
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetReusePort> GetReusePort ()
Get `SOL_SOCKET` -> `SO_REUSEPORT`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetAcceptConn> GetAcceptConn ()
Get `SOL_SOCKET` -> `SO_ACCEPTCONN`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetBindToDevice> SetBindToDevice (::fidl::StringView value)
Set `SOL_SOCKET` -> `SO_BINDTODEVICE`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetBindToDevice> GetBindToDevice ()
Get `SOL_SOCKET` -> `SO_BINDTODEVICE`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetBindToInterfaceIndex> SetBindToInterfaceIndex (uint64_t value)
Set `SOL_SOCKET` -> `SO_BINDTOIFINDEX`.
If `value` is 0, this clears the bound interface.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetBindToInterfaceIndex> GetBindToInterfaceIndex ()
Get `SOL_SOCKET` -> `SO_BINDTOIFINDEX`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetTimestamp> SetTimestamp (::fuchsia_posix_socket::wire::TimestampOption value)
Set `SOL_SOCKET` -> `SO_TIMESTAMP` or `SO_TIMESTAMPNS`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetTimestamp> GetTimestamp ()
Get `SOL_SOCKET` -> `SO_TIMESTAMP` or `SO_TIMESTAMPNS`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetMark> SetMark (::fuchsia_net::wire::MarkDomain domain, ::fuchsia_posix_socket::wire::OptionalUint32 mark)
Like setting `SOL_SOCKET` -> `SO_MARK`. The major difference is that
unlike the standard SO_MARK, this API has multiple mark domains and each
mark can be set independently in each domain.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetMark> GetMark (::fuchsia_net::wire::MarkDomain domain)
Like getting `SOL_SOCKET` -> `SO_MARK`. The major difference is that
unlike the standard SO_MARK, this API has multiple mark domains and each
mark can be retrieved independently in each domain.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetCookie> GetCookie ()
Get `SOL_SOCKET` -> `SO_COOKIE`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::Bind> Bind (::fuchsia_net::wire::SocketAddress addr)
Sets the local address used for the socket.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::Connect> Connect (::fuchsia_net::wire::SocketAddress addr)
Initiates a connection to a remote address.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::Disconnect> Disconnect ()
Clears connection information from this socket.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetSockName> GetSockName ()
Retrieves the local socket address.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetPeerName> GetPeerName ()
Retrieves the remote socket address.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::Shutdown> Shutdown (::fuchsia_posix_socket::wire::ShutdownMode mode)
Shuts down part of the socket.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetIpTypeOfService> SetIpTypeOfService (uint8_t value)
Set `SOL_IP` -> `IP_TOS`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetIpTypeOfService> GetIpTypeOfService ()
Get `SOL_IP` -> `IP_TOS`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetIpTtl> SetIpTtl (::fuchsia_posix_socket::wire::OptionalUint8 value)
Set `SOL_IP` -> `IP_TTL`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetIpTtl> GetIpTtl ()
Get `SOL_IP` -> `IP_TTL`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetIpPacketInfo> SetIpPacketInfo (bool value)
Set `SOL_IP` -> `IP_PKTINFO`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetIpPacketInfo> GetIpPacketInfo ()
Get `SOL_IP` -> `IP_PKTINFO`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetIpReceiveTypeOfService> SetIpReceiveTypeOfService (bool value)
Set `SOL_IP` -> `IP_RECVTOS`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetIpReceiveTypeOfService> GetIpReceiveTypeOfService ()
Get `SOL_IP` -> `IP_RECVTOS`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetIpReceiveTtl> SetIpReceiveTtl (bool value)
Set `SOL_IP` -> `IP_RECVTTL`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetIpReceiveTtl> GetIpReceiveTtl ()
Get `SOL_IP` -> `IP_RECVTTL`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetIpMulticastInterface> SetIpMulticastInterface (uint64_t iface, const ::fuchsia_net::wire::Ipv4Address & address)
Set `SOL_IP` -> `IP_MULTICAST_IF`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetIpMulticastInterface> GetIpMulticastInterface ()
Get `SOL_IP` -> `IP_MULTICAST_IF`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetIpMulticastTtl> SetIpMulticastTtl (::fuchsia_posix_socket::wire::OptionalUint8 value)
Set `SOL_IP` -> `IP_MULTICAST_TTL`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetIpMulticastTtl> GetIpMulticastTtl ()
Get `SOL_IP` -> `IP_MULTICAST_TTL`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetIpMulticastLoopback> SetIpMulticastLoopback (bool value)
Set `SOL_IP` -> `IP_MULTICAST_LOOP`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetIpMulticastLoopback> GetIpMulticastLoopback ()
Get `SOL_IP` -> `IP_MULTICAST_LOOP`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::AddIpMembership> AddIpMembership (const ::fuchsia_posix_socket::wire::IpMulticastMembership & membership)
Set `SOL_IP` -> `IP_ADD_MEMBERSHIP`
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::DropIpMembership> DropIpMembership (const ::fuchsia_posix_socket::wire::IpMulticastMembership & membership)
Set `SOL_IP` -> `IP_DROP_MEMBERSHIP`
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetIpTransparent> SetIpTransparent (bool value)
Set `SOL_IP` -> `IP_TRANSPARENT`
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetIpTransparent> GetIpTransparent ()
Get `SOL_IP` -> `IP_TRANSPARENT`
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetIpReceiveOriginalDestinationAddress> SetIpReceiveOriginalDestinationAddress (bool value)
Set `SOL_IP` -> `IP_RECVORIGDSTADDR`
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetIpReceiveOriginalDestinationAddress> GetIpReceiveOriginalDestinationAddress ()
Get `SOL_IP` -> `IP_RECVORIGDSTADDR`
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::AddIpv6Membership> AddIpv6Membership (const ::fuchsia_posix_socket::wire::Ipv6MulticastMembership & membership)
Set `SOL_IPV6` -> `IPV6_ADD_MEMBERSHIP`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::DropIpv6Membership> DropIpv6Membership (const ::fuchsia_posix_socket::wire::Ipv6MulticastMembership & membership)
Set `SOL_IPV6` -> `IPV6_DROP_MEMBERSHIP`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetIpv6MulticastInterface> SetIpv6MulticastInterface (uint64_t value)
Set `SOL_IPV6` -> `IPV6_MULTICAST_IF`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetIpv6MulticastInterface> GetIpv6MulticastInterface ()
Get `SOL_IPV6` -> `IPV6_MULTICAST_IF`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetIpv6UnicastHops> SetIpv6UnicastHops (::fuchsia_posix_socket::wire::OptionalUint8 value)
Set `SOL_IPV6` -> `IPV6_UNICAST_HOPS`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetIpv6UnicastHops> GetIpv6UnicastHops ()
Get `SOL_IPV6` -> `IPV6_UNICAST_HOPS`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetIpv6ReceiveHopLimit> SetIpv6ReceiveHopLimit (bool value)
Set `SOL_IPV6` -> `IPV6_RECVHOPLIMIT`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetIpv6ReceiveHopLimit> GetIpv6ReceiveHopLimit ()
Get `SOL_IPV6` -> `IPV6_RECVHOPLIMIT`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetIpv6MulticastHops> SetIpv6MulticastHops (::fuchsia_posix_socket::wire::OptionalUint8 value)
Set `SOL_IPV6` -> `IPV6_MULTICAST_HOPS`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetIpv6MulticastHops> GetIpv6MulticastHops ()
Get `SOL_IPV6` -> `IPV6_MULTICAST_HOPS`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetIpv6MulticastLoopback> SetIpv6MulticastLoopback (bool value)
Set `SOL_IPV6` -> `IPV6_MULTICAST_LOOP`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetIpv6MulticastLoopback> GetIpv6MulticastLoopback ()
Get `SOL_IPV6` -> `IPV6_MULTICAST_LOOP`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetIpv6Only> SetIpv6Only (bool value)
Set `SOL_IPV6` -> `IPV6_V6ONLY`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetIpv6Only> GetIpv6Only ()
Get `SOL_IPV6` -> `IPV6_V6ONLY`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetIpv6ReceiveTrafficClass> SetIpv6ReceiveTrafficClass (bool value)
Set `SOL_IPV6` -> `IPV6_RECVTCLASS`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetIpv6ReceiveTrafficClass> GetIpv6ReceiveTrafficClass ()
Get `SOL_IPV6` -> `IPV6_RECVTCLASS`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetIpv6TrafficClass> SetIpv6TrafficClass (::fuchsia_posix_socket::wire::OptionalUint8 value)
Set `SOL_IPV6` -> `IPV6_TCLASS`
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetIpv6TrafficClass> GetIpv6TrafficClass ()
Get `SOL_IPV6` -> `IPV6_TCLASS`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SetIpv6ReceivePacketInfo> SetIpv6ReceivePacketInfo (bool value)
Set `SOL_IPV6` -> `IPV6_RECVPKTINFO`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetIpv6ReceivePacketInfo> GetIpv6ReceivePacketInfo ()
Get `SOL_IPV6` -> `IPV6_RECVPKTINFO`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetOriginalDestination> GetOriginalDestination ()
Get `SOL_IP` -> `SO_ORIGINAL_DST`.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::GetInfo> GetInfo ()
Retrieves creation information from the socket.
- response `domain` the socket's associated domain.
- response `proto` the socket's associated protocol.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::Describe> Describe ()
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::RecvMsg> RecvMsg (bool want_addr, uint32_t data_len, bool want_control, ::fuchsia_posix_socket::wire::RecvMsgFlags flags)
Receives a message from the socket.
+ request `want_addr` request message's source address information to
be returned.
+ request `data_len` the maximum allowed length of the response data
buffer.
+ request `want_control` request ancillary data to be returned.
+ request `flags` flags for the receive request.
- response `addr` the message's source address information, if
requested.
- response `data` the message.
- response `control` control messages, if requested.
- response `truncated` indicates whether or not the returned message
was truncated.
Caller provides the backing storage for FIDL message.
::fidl::internal::WireBufferThenable< ::fuchsia_posix_socket::SynchronousDatagramSocket::SendMsg> SendMsg (::fidl::WireOptional< ::fuchsia_net::wire::SocketAddress> addr, ::fidl::VectorView<uint8_t> data, ::fuchsia_posix_socket::wire::DatagramSocketSendControlData control, ::fuchsia_posix_socket::wire::SendMsgFlags flags)
Sends a message on the socket.
+ request `addr` the address to send the message to. If unset, will send
to the connected peer.
+ request `data` the message.
+ request `control` ancillary data.
+ request `flags` flags for the send request.
- response `len` the number of bytes sent.
Caller provides the backing storage for FIDL message.