DatagramSocket.Disconnect Method

Definition

Disconnects the socket.

[Android.Runtime.Register("disconnect", "()V", "GetDisconnectHandler")]
public virtual void Disconnect ();
[<Android.Runtime.Register("disconnect", "()V", "GetDisconnectHandler")>]
abstract member Disconnect : unit -> unit
override this.Disconnect : unit -> unit
Attributes

Remarks

Disconnects the socket. If the socket is closed or not connected, then this method has no effect.

Java documentation for java.net.DatagramSocket.disconnect().

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