Skip to content

Commit

Permalink
Document allowHalfOpen for net.createServer()
Browse files Browse the repository at this point in the history
  • Loading branch information
koichik authored and ry committed Mar 7, 2011
1 parent 5e91042 commit 07426ef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/api/net.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 07426ef

Please sign in to comment.