Additional docs for net.listenFD()

Fixes #1080.
This commit is contained in:
Mark Cavage 2011-05-20 14:38:49 -07:00 committed by Ryan Dahl
parent 9c7f89bf56
commit a55a9ff3c2

View File

@ -104,7 +104,8 @@ when the server has been bound.
Start a server listening for connections on the given file descriptor.
This file descriptor must have already had the `bind(2)` and `listen(2)` system
calls invoked on it.
calls invoked on it. Additionally, it must be set non-blocking; try
`fcntl(fd, F_SETFL, O_NONBLOCK)`.
#### server.pause(msecs)