Socket.InetAddress Socket.InetAddress Property


Returns the IP address of the target host this socket is connected to, or null if this socket is not yet connected.

[get: Android.Runtime.Register("getInetAddress", "()Ljava/net/InetAddress;", "GetGetInetAddressHandler")]
public virtual Java.Net.InetAddress InetAddress { get; }
member this.InetAddress : Java.Net.InetAddress

Property Value


Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to