soket java dapatkan alamat ip klien

String ip=(((InetSocketAddress) socket.getRemoteSocketAddress()).getAddress()).toString().replace("/","");
Confused Cheetah