B4J Question Get IP from Stream

micro

Well-Known Member
Licensed User
Longtime User
Hi to all
is there a way to get ip from a stream of a socket?
B4X:
Dim jo As JavaObject = NewSocket
    Dim ip As String = jo.GetFieldJO("socket").RunMethodJO("getInetAddress", Null).RunMethod("getHostAddress", Null)
For Stream?

Thanks
 
Top