users@tyrus.java.net

How to get IP address of the remote client ?

From: Neil Ghosh <neil.ghosh_at_gmail.com>
Date: Tue, 29 Jan 2013 10:01:15 +0530

Whenever a remote client connects the following method gets invoked in my
code


    @WebSocketOpen
    public void onOpen(Session peer) {}

Wondering if the IP address of the connected client can be found from the
session object

-- 
Thanks and Regards
Neil
http://neilghosh.com