searchState.loadedDescShard("socket2", 0, "Utilities for creating and using sockets.\nAn address assigned to an interface.\nType corresponding to SOCK_DCCP.\nProtocol corresponding to DCCP.\nType corresponding to SOCK_DGRAM.\nSpecification of the communication domain for a socket.\nProtocol corresponding to ICMPv4.\nProtocol corresponding to ICMPv6.\nDomain for IPv4 communication, corresponding to AF_INET.\nDomain for IPv6 communication, corresponding to AF_INET6.\nAn interface index.\nA local interface specified by its index or an address …\nProtocol corresponding to MPTCP.\nA version of IoSliceMut that allows the buffer to be …\nConfiguration of a sendmsg(2) system call.\nConfiguration of a recvmsg(2) system call.\nDomain for low-level packet interface, corresponding to …\nProtocol specification used for creating sockets via …\nType corresponding to SOCK_RAW.\nFlags for incoming messages.\nProtocol corresponding to SCTP.\nType corresponding to SOCK_SEQPACKET.\nType corresponding to SOCK_STREAM.\nThe address of a socket.\nA reference to a Socket that can be used to configure …\nOwned wrapper around a system socket.\nProtocol corresponding to TCP.\nConfigures a socket’s TCP keepalive parameters.\nSpecification of communication semantics on a socket.\nProtocol corresponding to UDP.\nProtocol corresponding to UDPLITE.\nDomain for Unix socket communication, corresponding to …\nDomain for low-level VSOCK interface, corresponding to …\nAccept a new incoming connection from this listener.\nAccept a new incoming connection from this listener.\nAccept a new incoming connection from this listener.\nReturns this address as a slice of bytes representing an …\nReturns this address as a Path reference if it is an …\nReturns a raw pointer to the address.\nReturns this address as a SocketAddr if it is in the …\nReturns this address as a SocketAddrV4 if it is in the …\nReturns this address as a SocketAddrV6 if it is in the …\nRetuns the address as the storage.\nReturns this address as Unix SocketAddr if it is an AF_UNIX…\nReturns this address VSOCK CID/port if it is in the …\nAttach Berkeley Packet Filter(BPF) on this socket.\nBinds this socket to the specified address.\nSets the value for the SO_BINDTODEVICE option on this …\nGet the value of the SO_BROADCAST option for this socket.\nSet SOCK_CLOEXEC on the Type.\nInitiate a connection on this socket to the specified …\nInitiate a connection on this socket to the specified …\nGets the length of the control buffer.\nGets the value for the SO_COOKIE option on this socket.\nGet the value of the TCP_CORK option on this socket.\nGet the value of the SO_INCOMING_CPU option on this socket.\nGet the value of the DCCP_SOCKOPT_AVAILABLE_CCIDS option …\nGet the value of the DCCP_SOCKOPT_GET_CUR_MPS option on …\nGet the value of the DCCP_SOCKOPT_QPOLICY_TXQLEN on this …\nGet the value of the DCCP_SOCKOPT_RECV_CSCOV option on …\nGet the value of the DCCP_SOCKOPT_SEND_CSCOV option on …\nGet the value of the DCCP_SOCKOPT_SERVER_TIMEWAIT option …\nGet the value of the DCCP_SOCKOPT_SERVICE option on this …\nGet the value of the DCCP_SOCKOPT_TX_CCID option on this …\nGet the value of the DCCP_SOCKOPT_RX_CCID option on this …\nDetach Berkeley Packet Filter(BPF) from this socket.\nGets the value for the SO_BINDTODEVICE option on this …\nReturns the Domain of this socket by checking the SO_DOMAIN…\nReturns this address’s Domain.\nReturns this address’s family.\nReturns the flags of the message.\nReturns the correct domain for address.\nGet the value of the IP_FREEBIND option on this socket.\nGet the value of the IPV6_FREEBIND option on this socket.\nReturns the argument unchanged.\nThe caller must ensure S is actually a socket.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nThis method is deprecated, use …\nGet the value of the IP_HDRINCL option on this socket.\nGet the value of the IP_HDRINCL option on this socket.\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nCalls U::from(self).\nGet the value of the IP_TRANSPARENT option on this socket.\nCheck if the confirm flag is set.\nCheck if the don’t route flag is set.\nCheck if the message terminates a record.\nReturns true if this address is in the AF_INET (IPv4) …\nReturns true if this address is in the AF_INET6 (IPv6) …\nReturns true if listen(2) was called on this socket by …\nCheck if the message contains out-of-band data.\nCheck if the message contains a truncated datagram.\nReturns true if this address is of a unix socket (for …\nReturns true if this address is an unnamed address from …\nJoin a multicast group using IP_ADD_MEMBERSHIP option on …\nJoin a multicast group using IP_ADD_MEMBERSHIP option on …\nJoin a multicast group using IPV6_ADD_MEMBERSHIP option on …\nJoin a multicast SSM channel using IP_ADD_SOURCE_MEMBERSHIP…\nGet the value of the SO_KEEPALIVE option on this socket.\nGet the value of the TCP_KEEPINTVL option on this socket.\nGet the value of the TCP_KEEPCNT option on this socket.\nGet the value of the TCP_KEEPIDLE option on this socket.\nLeave a multicast group using IP_DROP_MEMBERSHIP option on …\nLeave a multicast group using IP_DROP_MEMBERSHIP option on …\nLeave a multicast group using IPV6_DROP_MEMBERSHIP option …\nLeave a multicast group using IP_DROP_SOURCE_MEMBERSHIP …\nReturns the size of this address in bytes.\nGet the value of the SO_LINGER option on this socket.\nMark a socket as ready to accept incoming connection …\nReturns the socket address of the local half of this …\nGets the value for the SO_MARK option on this socket.\nGets the value of the TCP_MAXSEG option on this socket.\nGet the value of the IP_MULTICAST_ALL option for this …\nGet the value of the IPV6_MULTICAST_ALL option for this …\nGet the value of the IPV6_MULTICAST_HOPS option for this …\nGet the value of the IP_MULTICAST_IF option for this …\nGet the value of the IPV6_MULTICAST_IF option for this …\nGet the value of the IP_MULTICAST_LOOP option for this …\nGet the value of the IPV6_MULTICAST_LOOP option for this …\nGet the value of the IP_MULTICAST_TTL option for this …\nCreates a new socket and sets common flags.\nCreates a new MaybeUninitSlice wrapping a byte slice.\nCreate a new MsgHdr with all empty/zero fields.\nCreate a new MsgHdrMut with all empty/zero fields.\nCreate a SockAddr from the underlying storage and its …\nReturns a new, empty set of TCP keepalive parameters.\nCreates a new socket ready to be configured.\nGet the value of the TCP_NODELAY option on this socket.\nReturns true if this socket is set to nonblocking mode, …\nSet SOCK_NONBLOCK on the Type.\nGet the value of the IPV6_V6ONLY option for this socket.\nGet the value for the SO_ORIGINAL_DST option on this …\nGet the value for the IP6T_SO_ORIGINAL_DST option on this …\nGet value for the SO_OOBINLINE option on this socket.\nCreates a pair of sockets which are connected to each …\nCreates a pair of sockets which are connected to each …\nGet value for the SO_PASSCRED option on this socket.\nReceives data on the socket from the remote adress to …\nReceives data from the socket, without removing it from …\nRetrieve the sender for the data at the head of the …\nReturns the socket address of the remote peer of this …\nReturns the Protocol of this socket by checking the …\nGet the value of the TCP_QUICKACK option on this socket.\nGet value for the SO_RCVTIMEO option on this socket.\nReceives data on the socket from the remote address to …\nGet value for the SO_RCVBUF option on this socket.\nReceives data from the socket. On success, returns the …\nReceives data from the socket. Returns the amount of bytes …\nIdentical to recv_from_vectored but allows for …\nIdentical to recv_from but allows for specification of …\nReceives out-of-band (OOB) data on the socket from the …\nGet the value of the IPV6_RECVTCLASS option for this …\nGet the value of the IP_RECVTOS option for this socket.\nReceives data on the socket from the remote address to …\nIdentical to recv_vectored but allows for specification of …\nIdentical to recv but allows for specification of …\nReceive a message from a socket using a message structure.\nGet the value of the SO_REUSEADDR option on this socket.\nGet the value of the SO_REUSEPORT option on this socket.\nSends data on the socket to a connected peer.\nGet the value of the SO_SNDBUF option on this socket.\nSends out-of-band (OOB) data on the socket to connected …\nSends data on the socket to the given address. On success, …\nSend data to a peer listening on addr. Returns the amount …\nIdentical to send_to_vectored but allows for specification …\nIdentical to send_to but allows for specification of …\nSend data to the connected peer. Returns the amount of …\nIdentical to send_vectored but allows for specification of …\nIdentical to send but allows for specification of …\nCopies data between a file and this socket using the …\nSend a message on a socket using a message structure.\nSet the value of the SO_BROADCAST option for this socket.\nSets CLOEXEC on the socket.\nSet the value of the TCP_CORK option on this socket.\nSet value for the SO_INCOMING_CPU option on this socket.\nSet value for the DCCP_SOCKOPT_CCID option on this socket.\nSet value for the DCCP_SOCKOPT_QPOLICY_TXQLEN option on …\nSet the value of the DCCP_SOCKOPT_RECV_CSCOV option on …\nSet value for the DCCP_SOCKOPT_SEND_CSCOV option on this …\nSet value for the DCCP_SOCKOPT_SERVER_TIMEWAIT option on …\nSet value for the DCCP_SOCKOPT_SERVICE option on this …\nSet value for the IP_FREEBIND option on this socket.\nSet value for the IPV6_FREEBIND option on this socket.\nThis method is deprecated, use …\nSet the value of the IP_HDRINCL option on this socket.\nSet the value of the IP_HDRINCL option on this socket.\nSet the value of the IP_TRANSPARENT option on this socket.\nSet value for the SO_KEEPALIVE option on this socket.\nSet the length of the address.\nSet value for the SO_LINGER option on this socket.\nSets the value for the SO_MARK option on this socket.\nSets the value of the TCP_MAXSEG option on this socket.\nSet the value of the IP_MULTICAST_ALL option for this …\nSet the value of the IPV6_MULTICAST_ALL option for this …\nSet the value of the IPV6_MULTICAST_HOPS option for this …\nSet the value of the IP_MULTICAST_IF option for this …\nSet the value of the IPV6_MULTICAST_IF option for this …\nSet the value of the IP_MULTICAST_LOOP option for this …\nSet the value of the IPV6_MULTICAST_LOOP option for this …\nSet the value of the IP_MULTICAST_TTL option for this …\nSet the value of the TCP_NODELAY option on this socket.\nMoves this socket into or out of nonblocking mode.\nSet the value for the IPV6_V6ONLY option on this socket.\nSet value for the SO_OOBINLINE option on this socket.\nSet value for the SO_PASSCRED option on this socket.\nSet the value of the TCP_QUICKACK option on this socket.\nSet value for the SO_RCVTIMEO option on this socket.\nSet value for the SO_RCVBUF option on this socket.\nSet the value of the IPV6_RECVTCLASS option for this …\nSet the value of the IP_RECVTOS option for this socket.\nSet value for the SO_REUSEADDR option on this socket.\nSet value for the SO_REUSEPORT option on this socket.\nSet value for the SO_SNDBUF option on this socket.\nSet the value of the IPV6_TCLASS option for this socket.\nSet the value of the TCP_CONGESTION option for this socket.\nSet parameters configuring TCP keepalive probes for this …\nSet the value of the TCP_USER_TIMEOUT option on this …\nSet the value of the TCP_THIN_LINEAR_TIMEOUTS option on …\nSet the value of the IP_TOS option for this socket.\nSet the value of the IP_TTL option for this socket.\nSet the value for the IPV6_UNICAST_HOPS option on this …\nSet value for the SO_SNDTIMEO option on this socket.\nShuts down the read, write, or both halves of this …\nGet the value of the SO_ERROR option on this socket.\nGet the value of the IPV6_TCLASS option for this socket.\nGet the value of the TCP_CONGESTION option for this socket.\nGet the value of the TCP_USER_TIMEOUT option on this …\nGet the value of the TCP_THIN_LINEAR_TIMEOUTS option on …\nGet the value of the IP_TOS option for this socket.\nCreates a new independently owned handle to the underlying …\nInitialise a SockAddr by calling the function init.\nGet the value of the IP_TTL option for this socket.\nReturns the Type of this socket by checking the SO_TYPE …\nGet the value of the IPV6_UNICAST_HOPS option for this …\nConstructs a SockAddr with the family AF_UNIX and the …\nConstructs a SockAddr with the family AF_VSOCK and the …\nSet the address (name) of the message.\nSet the mutable address (name) of the message.\nSet the buffer(s) of the message.\nSet the mutable buffer(s) of the message.\nSet the control buffer of the message.\nSet the mutable control buffer of the message.\nSet the flags of the message.\nSet the value of the TCP_KEEPINTVL option. On Windows, …\nSet the value of the TCP_KEEPCNT option.\nSet the amount of time after which TCP keepalive probes …\nGet value for the SO_SNDTIMEO option on this socket.")