mirror of https://github.com/nodejs/node.git
Document allowHalfOpen for net.createServer()
This commit is contained in:
parent
5e91042fcb
commit
07426ef29c
|
@ -14,6 +14,11 @@ automatically set as a listener for the `'connection'` event.
|
|||
{ allowHalfOpen: false
|
||||
}
|
||||
|
||||
If `allowHalfOpen` is `true`, then the socket won't automatically send FIN
|
||||
packet when the other end of the socket sends a FIN packet. The socket becomes
|
||||
non-readable, but still writable. You should call the end() method explicitly.
|
||||
See `'end'` event for more information.
|
||||
|
||||
### net.createConnection(arguments...)
|
||||
|
||||
Construct a new socket object and opens a socket to the given location. When
|
||||
|
|
Loading…
Reference in New Issue