Expose port and address over dnode socket.io server stream as .remotePort and .remoteAddress, respectively #97

Open
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant
Contributor

jfhbrook commented May 22, 2012

This change adds the remotePort and remoteAddress properties to the server-side socket.io stream in lib/stream_socketio.js. These properties are normally exposed on tcp sockets but not on the socket.io streams. I ended up wanting these for some of the hook.io stuff I've been up to and thought you might be interested in having them too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment