node-mongolian icon indicating copy to clipboard operation
node-mongolian copied to clipboard

Changed new Socket to net.createConnection to fix performance issues on Linux

Open Cowboy-coder opened this issue 13 years ago • 0 comments

Had to refactor the connection handling a bit because the Socket needs to be created when calling connect now because internally net.createConnection creates a Socket and then calls connect on it right away. Therefore the settings and configuration of the socket had to be moved into the connect function.

All tests passes and it's verified to give a performance boost on linux.

Cowboy-coder avatar Jan 23 '12 11:01 Cowboy-coder