public static InetAddress getRemoteIp ( ) { Call call = CurCall . get ( ) ; if ( call != null ) { return call . connection . socket . getInetAddress ( ) ; } return null ; }
Returns the remote side ip address when invoked inside an RPC Returns null incase of an error .