Compartilhar via


IpSecManager.OpenUdpEncapsulationSocket Method

Definition

Overloads

OpenUdpEncapsulationSocket()

Open a socket for UDP encapsulation.

OpenUdpEncapsulationSocket(Int32)

Open a socket for UDP encapsulation.

OpenUdpEncapsulationSocket()

Open a socket for UDP encapsulation.

[Android.Runtime.Register("openUdpEncapsulationSocket", "()Landroid/net/IpSecManager$UdpEncapsulationSocket;", "GetOpenUdpEncapsulationSocketHandler", ApiSince=28)]
public virtual Android.Net.IpSecManager.UdpEncapsulationSocket OpenUdpEncapsulationSocket ();
[<Android.Runtime.Register("openUdpEncapsulationSocket", "()Landroid/net/IpSecManager$UdpEncapsulationSocket;", "GetOpenUdpEncapsulationSocketHandler", ApiSince=28)>]
abstract member OpenUdpEncapsulationSocket : unit -> Android.Net.IpSecManager.UdpEncapsulationSocket
override this.OpenUdpEncapsulationSocket : unit -> Android.Net.IpSecManager.UdpEncapsulationSocket

Returns

a socket that is bound to a local port

Attributes

Remarks

Java documentation for android.net.IpSecManager.openUdpEncapsulationSocket().

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

OpenUdpEncapsulationSocket(Int32)

Open a socket for UDP encapsulation.

[Android.Runtime.Register("openUdpEncapsulationSocket", "(I)Landroid/net/IpSecManager$UdpEncapsulationSocket;", "GetOpenUdpEncapsulationSocket_IHandler", ApiSince=28)]
public virtual Android.Net.IpSecManager.UdpEncapsulationSocket OpenUdpEncapsulationSocket (int port);
[<Android.Runtime.Register("openUdpEncapsulationSocket", "(I)Landroid/net/IpSecManager$UdpEncapsulationSocket;", "GetOpenUdpEncapsulationSocket_IHandler", ApiSince=28)>]
abstract member OpenUdpEncapsulationSocket : int -> Android.Net.IpSecManager.UdpEncapsulationSocket
override this.OpenUdpEncapsulationSocket : int -> Android.Net.IpSecManager.UdpEncapsulationSocket

Parameters

port
Int32

Returns

a socket that is bound to a local port

Attributes

Remarks

Java documentation for android.net.IpSecManager.openUdpEncapsulationSocket().

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