I see per the documentation and from searching previous posts, in version 2.0 of Vertx they added the ability to use remoteAddress() to get the remote IP address. However they apparently only added it to NetSockets, and HttpRequests. I need a way to get the remote IP address on a websocket connection. I'm trying to set up a secure connection system where the client may disconnect and then reconnect, and I want to make it a little more difficult for hijacking to occur by simply passing in the ID of a previous connection. I was going to record the remote IP address and only allow connections back using the previous socket id if it originated from the same IP address.
Does anyone know a work around for this? I'm kind of surprised this function was overlooked in websockets if it was added to the other two, but it definitely complaints about it being an unrecognized symbol if I try to use it.
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
.