Click or drag to resize

NetworkedMultiplayerENetCloseConnection Method

Closes the connection. Ignored if no connection is currently established. If this is a server it tries to notify all clients before forcibly disconnecting them. If this is a client it simply closes the connection to the server.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void CloseConnection(
	uint waitUsec = 100
)

Parameters

waitUsec (Optional)
Type: SystemUInt32

[Missing <param name="waitUsec"/> documentation for "M:Godot.NetworkedMultiplayerENet.CloseConnection(System.UInt32)"]

See Also