Ben Noordhuis
d3f6b094c7
docs: update net.Server.address() documentation
13 years ago
koichik
a2cd31cbf1
doc: add the note about 'data' event
Refs #2691 .
13 years ago
koichik
57653added
docs: small changes.
13 years ago
koichik
e1c043f43a
docs: fix docs to not suggest variable leaks
Fixes #2106 .
13 years ago
Ryan Dahl
0fec213656
Update docs for server fd sharing
13 years ago
koichik
9797482568
docs: add example to net.connect()
Fixes #1824 .
13 years ago
Thomas Shinnick
4cf0ce5bb4
docs: typos and minor edits in several modules
Mostly quite minor edits. Those possibly of more interest are:
emitter.setMaxListeners(n)
That the limit is per event name for an emitter.
fs.readlink()
Not a path, but rather the symbolic link's string value, which
would be at best a partial path, certainly not a 'resolvedPath'
global.__filename
This may be "well-known" but this is a full path to the module
that referencing code is running in. It is not the main program's
path, unless you are in the main program. Each module knows only
its own path.
server.listen(port,...)
I actually needed this functionality... "gimme just _any_ next port"
stream.end()
stream.destroy()
Yeah, everybody knows what happens to the queued data, but let's
make it *really* explicit for the first readers.
14 years ago
Alexander Uvarov
216829e752
Docs for Socket::bytesRead, Socket::bytesWritten
14 years ago
koichik
6c121edc60
Fix mismatch createConnection and Socket.connect
net.createConnection() is wrapper for net.Socket.connect(),
but There is mismatch between them.
net.createConnection(port, [host])
net.Socket.connect(port, [host], [callback])
Fixes #1208 .
14 years ago
Mark Cavage
a55a9ff3c2
Additional docs for net.listenFD()
Fixes #1080 .
14 years ago
Ryan Dahl
11beac70e2
Docs: server.pause() server.address() socket.address()
14 years ago
Brian White
ac1da4b407
Add remoteAddress and remotePort for client TCP connections
https://groups.google.com/d/topic/nodejs-dev/Asr87_YFSkg/discussion
14 years ago
David Trejo
6788ad413f
See the <doc> section are now links to <doc>
Closes GH-839.
14 years ago
koichik
4e047d32b0
Document net.Socket() constructor
14 years ago
koichik
07426ef29c
Document allowHalfOpen for net.createServer()
14 years ago
koichik
452df69964
Correct net.createServer() API docs
14 years ago
Ryan Dahl
839fb8e19b
typos
14 years ago
Ryan Dahl
aa95e5708f
Expose errno with a string.
14 years ago
Ryan Dahl
6ede26cb9c
Add socket.bufferSize
14 years ago
Ali Farhadi
c70dd70301
Adding callback parameter to Socket's setTimeout method.
14 years ago
Ryan Dahl
4e108ef9b6
Remove legacy TLS api from docs
14 years ago
Ryan Dahl
b62152bc84
Rename net.Stream to net.Socket
14 years ago
Ryan Dahl
632da2a393
Add callback paramenter to socket.connect()
14 years ago
Ryan Dahl
c4161f32f5
Add callback to socket.write()
14 years ago
Ryan Dahl
c970968ee6
better option parsing for socket.write()
14 years ago
Ryan Dahl
5a87bd168d
Remove doc references to readyState
14 years ago
Ryan Dahl
a3c91c216f
Simplify the net.Server example in docs
14 years ago
Ryan Dahl
7a7feb8cd3
Add note about EADDRINUSE to docs
14 years ago
Silas Sewell
11b2ee7632
Various doc tweaks (2-spaces vs tabs, EOL-whitespace, repl prompt, "world" vs "World", etc...)
14 years ago
Ryan Dahl
df46c8e698
Rip out the old TLS implementation
14 years ago
Oleg Efimov
8b980d729c
Fix line wrapping in docs. Add tics for constants in docs text.
14 years ago
Ryan Dahl
e5cc6388cb
Docs for server.address()
14 years ago
Micheil Smith
f9ad171085
Added documentation for which module to require to use the methods defined in that documentation
14 years ago
Micheil Smith
17595b5343
Various changes to Net Documentation, ammended style for API.
14 years ago
Micheil Smith
e190c9616e
Splitting documentation
14 years ago