joyent/node — pull request #6180 by mmalecki (2013-09-04 23:00:46+00:00)
Title: net: add a port validation to `connect`

Fix "Assertion failed" when trying to connect to non-int ports:

Assertion failed: (args[2]->Uint32Value()), function Connect, file ../src/tcp_wrap.cc, line 379.
Abort trap: 6