tj / axon

message-oriented socket library for node.js heavily inspired by zeromq
MIT License
1.49k stars 155 forks source link

change connect event to emit socket #123

Closed nickpoorman closed 9 years ago

nickpoorman commented 10 years ago

I have a need for some information from the socket after a successful connect.

Tests pass. Doesn't seem to break anything by providing a reference to sock.

jcrugzz commented 9 years ago

@nickpoorman seems reasonable. Thanks!