MrJoes/tornadio — Issue #40: tornadio.SocketConnection.remote_addr() method for resolving remote IP address
Author: fzzbt
Created: 2011-11-01 03:02:55+00:00
State: open

Can you consider adding a method to tornadio.SocketConnection for resolving the remote IP address of the connection similar to what the Go socketio server does (https://github.com/madari/go-socket.io/commit/fd03c283d058ae7a7cffa2ff6c9113b76914fb06#diff-0)?
Without it it seems to be hard to resolve the IP address.
For websocket connections it you can get it by calling self._protocol.request.remote_ip, but that doesn't seem to work for polling connections.
I am unable to get IP address when using polling connections.