How to turn Java class into one of its subclasses (SockerAddress and InetsocketAddress)

Posted by vasion on Stack Overflow See other posts from Stack Overflow or by vasion
Published on 2010-03-20T17:34:11Z Indexed on 2010/03/20 17:41 UTC
Read the original article Hit count: 335

Filed under:
|
|
|
|

I am trying to get the ip of a socket connection in string form.

I am using a framework, which returns the SocketAddress of the recieved message. How can i transform it to InetSocketAddress or InetAddress?

© Stack Overflow or respective owner

Related posts about java

Related posts about socket