DatagramPacket.Address Property

Definition

Returns the IP address of the machine to which this datagram is being sent or from which the datagram was received. -or- Sets the IP address of the machine to which this datagram is being sent.

public Java.Net.InetAddress? Address { [Android.Runtime.Register("getAddress", "()Ljava/net/InetAddress;", "")] get; [Android.Runtime.Register("setAddress", "(Ljava/net/InetAddress;)V", "")] set; }
[<get: Android.Runtime.Register("getAddress", "()Ljava/net/InetAddress;", "")>]
[<set: Android.Runtime.Register("setAddress", "(Ljava/net/InetAddress;)V", "")>]
member this.Address : Java.Net.InetAddress with get, set

Property Value

InetAddress

the IP address of the machine to which this datagram is being sent or from which the datagram was received.

Attributes

Remarks

Property getter documentation:

Java documentation for java.net.DatagramPacket.getAddress().

Property setter documentation:

Java documentation for java.net.DatagramPacket.setAddress(java.net.InetAddress).

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