installs a new listener function to be called when the specified event is triggered by the object on which it is applied
returns an object containing two attributes, address and port, representing the address where the client socket is connected
opens the connection for the existing socket to which it is applied
closes the socket to which it is applied
triggers the event for the object, optionally passing arguments to the listener(s)
closes the socket to which it is applied
returns an array of listeners defined for the specified event in the object
installs a new listener function to be called when the specified event is triggered by the object on which it is applied
sets a new listener function to be called only once when the specified event is triggered for the first time by the object on which it is applied
pauses the 'data' event triggered for the given socket
removes all the listeners of the specified event for the object to which it is applied
removes the specified listener from the listener array of the event for the object to which it is applied
resumes a paused socket
sets the encoding for data received from the socket to which it is applied
defines the maximum number of listeners that can be added per event for the object to which it is applied
disables Nagle's algorithm for the socket to which it is applied
writes data to the socket to which it is applied
writes data to the socket to which it is applied
Number of buffered characters to be written