Scripting/Squirrel/Functions/Socket.Disconnect

From Vice City Multiplayer [MIRROR]
Jump to: navigation, search

This function will disconnect the socket from a client. This will only work when you're listening as a server using Socket.Start.

Syntax

Socket.Disconnect( clientId )

Arguments

  • int clientId - The ID of the client you want to disconnect from.

Example

Please refer to the Socket Example for a advanced usage of all socket functions.

Related Functions