AsynchronousSocketChannel.RemoteAddress Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the remote address to which this channel's socket is connected.
public abstract Java.Net.SocketAddress? RemoteAddress { [Android.Runtime.Register("getRemoteAddress", "()Ljava/net/SocketAddress;", "GetGetRemoteAddressHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getRemoteAddress", "()Ljava/net/SocketAddress;", "GetGetRemoteAddressHandler", ApiSince=26)>]
member this.RemoteAddress : Java.Net.SocketAddress
Property Value
The remote address; null if the channel's socket is not connected
- Attributes
Remarks
Returns the remote address to which this channel's socket is connected. Where the channel is bound and connected to an Internet Protocol socket address then the return value from this method is of type InetSocketAddress.
Java reference for java.nio.channels.AsynchronousSocketChannel.getRemoteAddress.
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.