úÎXÍVä            portable experimentaljohan.tibell@gmail.com<Send data to the socket. The socket must be connected to a D remote socket. Returns the number of bytes sent. Applications are 7 responsible for ensuring that all data has been sent. Connected socket  Data to send Number of bytes sent <Send data to the socket. The socket must be connected to a  remote socket. Unlike ', this function continues to send data D until either all data has been sent or an error occurs. On error, C an exception is raised, and there is no way to determine how much & data, if any, was successfully sent. Connected socket  Data to send <Send data to the socket. The socket must be in a connected B state. The data is sent as if the parts have been concatenated. E This function continues to send data until either all data has been A sent or an error occurs. On error, an exception is raised, and 9 there is no way to determine how much data, if any, was  successfully sent.  Unix only. Connected socket  Data to send 9Send data to the socket. The recipient can be specified = explicitly, so the socket need not be in a connected state. D Returns the number of bytes sent. Applications are responsible for ' ensuring that all data has been sent. Socket  Data to send Recipient address Number of bytes sent 8Send data to the socket. The recipient can be specified E explicitly, so the socket need not be in a connected state. Unlike  8, this function continues to send data until either all C data has been sent or an error occurs. On error, an exception is E raised, and there is no way to determine how much data, if any, was  successfully sent. Socket  Data to send Recipient address 9Send data to the socket. The recipient can be specified B explicitly, so the socket need not be in a connected state. The E data is sent as if the parts have been concatenated. This function B continues to send data until either all data has been sent or an B error occurs. On error, an exception is raised, and there is no @ way to determine how much data, if any, was successfully sent.   Unix only. Socket  Data to send Recipient address AReceive data from the socket. The socket must be in a connected B state. This function may return fewer bytes than specified. If < the message is longer than the specified length, it may be E discarded depending on the type of socket. This function may block  until a message arrives. KConsidering hardware and network realities, the maximum number of bytes to 3 receive should be a small power of 2, e.g., 4096. ?For TCP sockets, a zero length return value means the peer has ) closed its half side of the connection. Connected socket #Maximum number of bytes to receive Data received ;Receive data from the socket. The socket need not be in a  connected state. Returns (bytes, address) where bytes is a  $ representing the data received and address is a   1 representing the address of the sending socket. Socket #Maximum number of bytes to receive !Data received and sender address !,Suppose we try to transmit a list of chunks cs via a gathering write  operation and find that n bytes were sent. Then remainingChunks n cs is & list of chunks remaining to be sent. "totalLength cs5 is the sum of the lengths of the chunks in the list cs. #withIOVec cs f executes the computation f, passing as argument a pair I consisting of a pointer to a temporarily allocated array of pointers to    made from cs and the number of pointers ( length cs).   Unix only.  POSIX, GHC experimentalbos@serpentine.comBSend data to the socket. The socket must be in a connected state. D Returns the number of bytes sent. Applications are responsible for ' ensuring that all data has been sent. Because a lazily generated $ may be arbitrarily long, E this function caps the amount it will attempt to send at 4MB. This @ number is large (so it should not penalize performance on fast ? networks), but not outrageously so (to avoid demanding lazily & computed data unnecessarily early).  Unix only. Connected socket  Data to send Number of bytes sent <Send data to the socket. The socket must be in a connected C state. This function continues to send data until either all data = has been sent or an error occurs. If there is an error, an E exception is raised, and there is no way to determine how much data  was sent.  Unix only. Connected socket  Data to send AReceive data from the socket. The socket must be in a connected C state. Data is received on demand, in chunks; each chunk will be < sized to reflect the amount of data received by individual    calls. BAll remaining data from the socket is consumed. When there is no D more data to be received, the receiving side of the socket is shut D down. If there is an error and an exception is thrown, the socket  is not shut down. Connected socket Data received AReceive data from the socket. The socket must be in a connected B state. This function may return fewer bytes than specified. If B the received data is longer than the specified length, it may be E discarded depending on the type of socket. This function may block  until a message arrives. :If there is no more data to be received, returns an empty $. Connected socket #Maximum number of bytes to receive Data received    %       !"#$%&'( )"*network-bytestring-0.1.2Network.Socket.ByteStringNetwork.Socket.ByteString.LazyNetwork.Socket.ByteString.IOVec Network.Socket.ByteString.MsgHdr"Network.Socket.ByteString.InternalsendsendAllsendManysendTo sendAllTo sendManyTorecvrecvFrom getContentsIOVeciovBaseiovLenMsgHdrmsgName msgNameLenmsgIov msgIovLen msgControl msgControlLenmsgFlags c_sendmsgc_writevmkInvalidRecvArgErrorc_recvc_send recvInnerbytestring-0.9.1.7Data.ByteString.Internal ByteStringnetwork-2.2.1.7Network.Socket.InternalSockAddrremainingChunks totalLength withIOVecData.ByteString.Lazy.Internal