-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
1,028 additions
and
1,028 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><title>System.Win32.Async.Socket.ByteString.Lazy</title><link href="linuwial.css" rel="stylesheet" type="text/css" title="Linuwial" /><link rel="stylesheet" type="text/css" href="quick-jump.css" /><link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700" /><script src="haddock-bundle.min.js" async="async" type="text/javascript"></script><script type="text/x-mathjax-config">MathJax.Hub.Config({ tex2jax: { processClass: "mathjax", ignoreClass: ".*" } });</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script></head><body><div id="package-header"><span class="caption">Win32-network-0.1.0.0: Win32 network API</span><ul class="links" id="page-menu"><li><a href="src/System.Win32.Async.Socket.ByteString.Lazy.html">Source</a></li><li><a href=""../index.html"">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">System.Win32.Async.Socket.ByteString.Lazy</p></div><div id="synopsis"><details id="syn"><summary>Synopsis</summary><ul class="details-toggle" data-details-id="syn"><li class="src short"><a href="#v:send">send</a> ∷ Socket → <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/bytestring-0.10.12.0/Data-ByteString-Lazy.html#t:ByteString" title="Data.ByteString.Lazy">ByteString</a> → <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/base-4.14.1.0/System-IO.html#t:IO" title="System.IO">IO</a> <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/base-4.14.1.0/Data-Int.html#t:Int64" title="Data.Int">Int64</a></li><li class="src short"><a href="#v:sendAll">sendAll</a> ∷ Socket → <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/bytestring-0.10.12.0/Data-ByteString-Lazy.html#t:ByteString" title="Data.ByteString.Lazy">ByteString</a> → <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/base-4.14.1.0/System-IO.html#t:IO" title="System.IO">IO</a> ()</li><li class="src short"><a href="#v:recv">recv</a> ∷ Socket → <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/base-4.14.1.0/Data-Int.html#t:Int" title="Data.Int">Int</a> → <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/base-4.14.1.0/System-IO.html#t:IO" title="System.IO">IO</a> <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/bytestring-0.10.12.0/Data-ByteString-Lazy.html#t:ByteString" title="Data.ByteString.Lazy">ByteString</a></li></ul></details></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:send" class="def">send</a> ∷ Socket → <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/bytestring-0.10.12.0/Data-ByteString-Lazy.html#t:ByteString" title="Data.ByteString.Lazy">ByteString</a> → <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/base-4.14.1.0/System-IO.html#t:IO" title="System.IO">IO</a> <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/base-4.14.1.0/Data-Int.html#t:Int64" title="Data.Int">Int64</a> <a href="src/System.Win32.Async.Socket.ByteString.Lazy.html#send" class="link">Source</a> <a href="#v:send" class="selflink">#</a></p><div class="doc"><p>Sending each chunk using vectored I/O. In one system call one can | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><title>System.Win32.Async.Socket.ByteString.Lazy</title><link href="linuwial.css" rel="stylesheet" type="text/css" title="Linuwial" /><link rel="stylesheet" type="text/css" href="quick-jump.css" /><link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700" /><script src="haddock-bundle.min.js" async="async" type="text/javascript"></script><script type="text/x-mathjax-config">MathJax.Hub.Config({ tex2jax: { processClass: "mathjax", ignoreClass: ".*" } });</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script></head><body><div id="package-header"><span class="caption">Win32-network-0.1.0.0: Win32 network API</span><ul class="links" id="page-menu"><li><a href="src/System.Win32.Async.Socket.ByteString.Lazy.html">Source</a></li><li><a href=""../index.html"">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">System.Win32.Async.Socket.ByteString.Lazy</p></div><div id="synopsis"><details id="syn"><summary>Synopsis</summary><ul class="details-toggle" data-details-id="syn"><li class="src short"><a href="#v:send">send</a> ∷ <a href="file://C:\sr\ghc-8.10.4\network-3.1.2.2-401e4d9338e4a808e99e09bdbba733f95ee68faa\share\doc\html/Network-Socket-Types.html#t:Socket" title="Network.Socket.Types">Socket</a> → <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/bytestring-0.10.12.0/Data-ByteString-Lazy.html#t:ByteString" title="Data.ByteString.Lazy">ByteString</a> → <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/base-4.14.1.0/System-IO.html#t:IO" title="System.IO">IO</a> <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/base-4.14.1.0/Data-Int.html#t:Int64" title="Data.Int">Int64</a></li><li class="src short"><a href="#v:sendAll">sendAll</a> ∷ <a href="file://C:\sr\ghc-8.10.4\network-3.1.2.2-401e4d9338e4a808e99e09bdbba733f95ee68faa\share\doc\html/Network-Socket-Types.html#t:Socket" title="Network.Socket.Types">Socket</a> → <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/bytestring-0.10.12.0/Data-ByteString-Lazy.html#t:ByteString" title="Data.ByteString.Lazy">ByteString</a> → <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/base-4.14.1.0/System-IO.html#t:IO" title="System.IO">IO</a> ()</li><li class="src short"><a href="#v:recv">recv</a> ∷ <a href="file://C:\sr\ghc-8.10.4\network-3.1.2.2-401e4d9338e4a808e99e09bdbba733f95ee68faa\share\doc\html/Network-Socket-Types.html#t:Socket" title="Network.Socket.Types">Socket</a> → <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/base-4.14.1.0/Data-Int.html#t:Int" title="Data.Int">Int</a> → <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/base-4.14.1.0/System-IO.html#t:IO" title="System.IO">IO</a> <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/bytestring-0.10.12.0/Data-ByteString-Lazy.html#t:ByteString" title="Data.ByteString.Lazy">ByteString</a></li></ul></details></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:send" class="def">send</a> ∷ <a href="file://C:\sr\ghc-8.10.4\network-3.1.2.2-401e4d9338e4a808e99e09bdbba733f95ee68faa\share\doc\html/Network-Socket-Types.html#t:Socket" title="Network.Socket.Types">Socket</a> → <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/bytestring-0.10.12.0/Data-ByteString-Lazy.html#t:ByteString" title="Data.ByteString.Lazy">ByteString</a> → <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/base-4.14.1.0/System-IO.html#t:IO" title="System.IO">IO</a> <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/base-4.14.1.0/Data-Int.html#t:Int64" title="Data.Int">Int64</a> <a href="src/System.Win32.Async.Socket.ByteString.Lazy.html#send" class="link">Source</a> <a href="#v:send" class="selflink">#</a></p><div class="doc"><p>Sending each chunk using vectored I/O. In one system call one can | ||
transmit at most 1024 chunks, it is safe to transmit less than 4194304 | ||
bytes.</p><p>The socket must be in a connected state, and must be associated with an IO | ||
completion port via | ||
<code><a href="System-Win32-Async-IOManager.html#v:associateWithIOCompletionProt" title="System.Win32.Async.IOManager">associateWithIOCompletionProt</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:sendAll" class="def">sendAll</a> ∷ Socket → <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/bytestring-0.10.12.0/Data-ByteString-Lazy.html#t:ByteString" title="Data.ByteString.Lazy">ByteString</a> → <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/base-4.14.1.0/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/System.Win32.Async.Socket.ByteString.Lazy.html#sendAll" class="link">Source</a> <a href="#v:sendAll" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:recv" class="def">recv</a> ∷ Socket → <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/base-4.14.1.0/Data-Int.html#t:Int" title="Data.Int">Int</a> → <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/base-4.14.1.0/System-IO.html#t:IO" title="System.IO">IO</a> <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/bytestring-0.10.12.0/Data-ByteString-Lazy.html#t:ByteString" title="Data.ByteString.Lazy">ByteString</a> <a href="src/System.Win32.Async.Socket.ByteString.Lazy.html#recv" class="link">Source</a> <a href="#v:recv" class="selflink">#</a></p><div class="doc"><p>Receive bytes from a socket, which must be in a connected state, and must | ||
<code><a href="System-Win32-Async-IOManager.html#v:associateWithIOCompletionProt" title="System.Win32.Async.IOManager">associateWithIOCompletionProt</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:sendAll" class="def">sendAll</a> ∷ <a href="file://C:\sr\ghc-8.10.4\network-3.1.2.2-401e4d9338e4a808e99e09bdbba733f95ee68faa\share\doc\html/Network-Socket-Types.html#t:Socket" title="Network.Socket.Types">Socket</a> → <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/bytestring-0.10.12.0/Data-ByteString-Lazy.html#t:ByteString" title="Data.ByteString.Lazy">ByteString</a> → <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/base-4.14.1.0/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/System.Win32.Async.Socket.ByteString.Lazy.html#sendAll" class="link">Source</a> <a href="#v:sendAll" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:recv" class="def">recv</a> ∷ <a href="file://C:\sr\ghc-8.10.4\network-3.1.2.2-401e4d9338e4a808e99e09bdbba733f95ee68faa\share\doc\html/Network-Socket-Types.html#t:Socket" title="Network.Socket.Types">Socket</a> → <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/base-4.14.1.0/Data-Int.html#t:Int" title="Data.Int">Int</a> → <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/base-4.14.1.0/System-IO.html#t:IO" title="System.IO">IO</a> <a href="file://C:\ProgramData\chocolatey\lib\ghc.8.10.4\tools\ghc-8.10.4\lib/../doc/html/libraries/bytestring-0.10.12.0/Data-ByteString-Lazy.html#t:ByteString" title="Data.ByteString.Lazy">ByteString</a> <a href="src/System.Win32.Async.Socket.ByteString.Lazy.html#recv" class="link">Source</a> <a href="#v:recv" class="selflink">#</a></p><div class="doc"><p>Receive bytes from a socket, which must be in a connected state, and must | ||
be associated with an IO completion port via | ||
<code><a href="System-Win32-Async-IOManager.html#v:associateWithIOCompletionProt" title="System.Win32.Async.IOManager">associateWithIOCompletionProt</a></code>. | ||
It can return less bytes than requested.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.24.0</p></div></body></html> |
Oops, something went wrong.