CloseNetworkConnection()

Syntax

CloseNetworkConnection(Connection)
Description
Close the specified connection. If a client calls this, the server will recieve a #PB_NetworkEvent_Disconnect event. If this is called from a server, then the connection will be closed without any notice to the client.

Note: all remaining opened connections are automatically closed when the program ends.

Supported OS

All

Network Index - CloseNetworkServer() ->