data event (net.Socket)

Event: 'data' <Buffer> Emitted when data is received. The argument data will be a Buffer or String. Encoding of data is set by socket.setEncoding(). (See the Readable Stream section for more information.) Note that the data will be lost if there is no listener when a Socket emits a 'data' event.

net_socket.write()

socket.write(data[, encoding][, callback]) Sends data on the socket. The second parameter specifies the encoding in the case of a string--it defaults to UTF8 encoding. Returns true if the entire data was flushed successfully to the kernel buffer. Returns false if all or part of the data was queued in user memory. 'drain' will be emitted when the buffer is again free. The optional callback parameter will be executed when the data is finally written out - this may not be immediately.

http_server.setTimeout()

server.setTimeout(msecs, callback) msecs <Number> callback <Function> Sets the timeout value for sockets, and emits a 'timeout' event on the Server object, passing the socket as an argument, if a timeout occurs. If there is a 'timeout' event listener on the Server object, then it will be called with the timed-out socket as an argument. By default, the Server's timeout value is 2 minutes, and sockets are destroyed automatically if they time out. However, if you assign a callb

fs.writeSync()

fs.writeSync(fd, buffer, offset, length[, position])

fs.readlinkSync()

fs.readlinkSync(path) Synchronous readlink(2). Returns the symbolic link's string value.

diffieHellman.getPrime()

diffieHellman.getPrime([encoding]) Returns the Diffie-Hellman prime in the specified encoding, which can be 'binary', 'hex', or 'base64'. If encoding is provided a string is returned; otherwise a Buffer is returned.

fs.lchownSync()

fs.lchownSync(path, uid, gid) Synchronous lchown(2). Returns undefined.

buffer.writeInt8()

buf.writeInt8(value, offset[, noAssert]) value <Number> Bytes to be written to Buffer offset <Number> 0 <= offset <= buf.length - 1 noAssert <Boolean> Default: false Return: <Number> The offset plus the number of written bytes Writes value to the Buffer at the specified offset. The value should be a valid signed 8-bit integer. Behavior is not defined when value is anything other than a signed 8-bit integer. Set noAssert to true to skip validation of value an

change event (fs.FSWatcher)

Event: 'change' event <String> The type of fs change filename <String> The filename that changed (if relevant/available) Emitted when something changes in a watched directory or file. See more details in fs.watch().

process.config

process.config An Object containing the JavaScript representation of the configure options that were used to compile the current Node.js executable. This is the same as the config.gypi file that was produced when running the ./configure script. An example of the possible output looks like: { target_defaults: { cflags: [], default_configuration: 'Release', defines: [], include_dirs: [], libraries: [] }, variables: { host_arch: 'x64', node_install_npm: 't