úÎ!an^V3      !"#$%&'()*+,-./012Safe"9;dª sockets)A description of the unexpected behavior.socketszThe datagram did not fit in the buffer. This can happen while sending or receiving. Fields: buffer size, datagram size.socketsŒThe socket address was not the expected size. This exception indicates a bug in this library or (less likely) in the operating system.sockets‹The socket address had an unexpected family. This exception indicates a bug in this library or (less likely) in the operating system.socketsŠThe option value was not the expected size. This exception indicates a bug in this library or (less likely) in the operating system.socketsQThe user requested a negative number of bytes in a call to a receive function.socketsIThe remote end sent more data when it was expected to send a shutdown.socketsWThe remote end has shutdown its side of the full-duplex connection. This can happen receiveÿ is called on a stream socket. This is not necessarily a bad thing. Many protocols use shutdown to indicate that no more data is available. These protocols can be contrasted with protocols that send a length representing a number of expected bytes.sockets¥Any error code from the operating system that this library does not expect or recognize. Consult your operating system manual for details about the error code. sockets'The function that behaved unexpectedly.socketspRepresents any unexpected behaviors that a function working on a socket, connection, or listener can exhibit.  SafeE3None";dFsockets An endpoint for an IPv4 socket, connection, or listener. Everything is in host byte order, and the user is not responisble for performing any conversions.None"$9;F_d4¿socketsuA connectionless datagram socket that may communicate with many different endpoints on a datagram-by-datagram basis.socketsæOpen a socket and run the supplied callback on it. This closes the socket when the callback finishes or when an exception is thrown. Do not return the socket from the callback. This leads to undefined behavior. If the address 0.0.0.0ú is used, the socket receives on all network interfaces. If the port 0 is used, an unused port is chosen by the operating system. The callback provides the chosen port (or if the user specified a non-zero port, the chosen port will be that value). sockets6Send a slice of a bytearray to the specified endpoint.!sockets6Receive a datagram into a freshly allocated bytearray."sockets®Receive a datagram into a mutable byte array, ignoring information about the remote endpoint. Returns the actual number of bytes present in the datagram. Precondition: -buffer_length - offset >= max_datagram_length.socketsAddress and port to usesockets1Callback providing the socket and the chosen port socketsSocketsocketsRemote IPv4 address and portsocketsBuffer (will be sliced)socketsOffset into payloadsocketsLenth of slice into buffer!socketsSocketsockets#Maximum size of datagram to receive"socketsSocketsocketsBuffersocketsOffset into buffersockets#Maximum size of datagram to receive#   !"# !"  None"$FSX_d\ú %sockets$A connection-oriented stream socket.&sockets0A socket that listens for incomming connections.(socketsÿDAccept a connection on the listener and run the supplied callback on it. This closes the connection when the callback finishes or if an exception is thrown. Since this function blocks the thread until the callback finishes, it is only suitable for stream socket clients that handle one connection at a time. The variant *\ is preferrable for servers that need to handle connections concurrently (most use cases).)sockets[Accept a connection on the listener and run the supplied callback in a new thread. Prefer *r unless the masking state needs to be preserved for the callback. Such a situation seems unlikely to the author.*socketspAccept a connection on the listener and run the supplied callback in a new thread. The masking state is set to Unmasked when running the callback.+sockets#Establish a connection to a server.0sockets­Receive exactly the given number of bytes. If the remote application shuts down its end of the connection before sending the required number of bytes, this returns 4 (  ).1socketsÑReceive a number of bytes exactly equal to the size of the mutable byte array. If the remote application shuts down its end of the connection before sending the required number of bytes, this returns 4 (  ).2socketsœReceive up to the given number of bytes. If the remote application shuts down its end of the connection instead of sending any bytes, this returns 4 (  ). +socketsRemote endpointsocketsCallback to consume connection,sockets ConnectionsocketsBuffer (will be sliced)-sockets ConnectionsocketsBuffer (will be sliced)socketsOffset into payloadsocketsLenth of slice into buffer.sockets ConnectionsocketsBuffer (will be sliced)/sockets ConnectionsocketsBuffer (will be sliced)socketsOffset into payloadsocketsLenth of slice into buffer5sockets ConnectionsocketsBuffer (will be sliced)socketsOffset into payloadsocketsLength of slice into buffer6sockets ConnectionsocketsBuffer (will be sliced)socketsOffset into payloadsocketsLength of slice into buffer7sockets Connectionsockets"Maximum number of bytes to receivesocketsReceive buffersocketsOffset into buffer0sockets ConnectionsocketsNumber of bytes to receive2sockets Connectionsockets"Maximum number of bytes to receive+  %&'()*+,-./012+&%'(+)*,-./021  8      !"#$%&'()*+,-./0123456789:;<%sockets-0.1.0.0-KkXN8QV8wPgELw9EFMTfeSocket.Datagram.IPv4.UndestinedSocket.Stream.IPv4Socket Socket.Debug Socket.IPv4ReasonMessageTruncatedSocketAddressSizeSocketAddressFamilyOptionValueSizeNegativeBytesRequestedRemoteNotShutdownRemoteShutdown ErrorCodeContextAcceptBindCloseConnectGetNameListenOpenOptionReceiveSendShutdownSocketException$sel:context:SocketException$sel:reason:SocketExceptionEndpoint$sel:address:Endpoint$sel:port:Endpoint withSocketsendreceivereceiveMutableByteArraySlice_ $fEqSocket $fOrdSocket ConnectionListener withListener withAccepted forkAcceptedforkAcceptedUnmaskedwithConnection sendByteArraysendByteArraySlicesendMutableByteArraysendMutableByteArraySlicereceiveByteArrayreceiveMutableByteArrayreceiveBoundedByteArraydebugbase Data.EitherLeftinternalSendMutable internalSendinternalReceiveMaximally