DatagramSocket.Disconnect Method
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.
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.