void SocketClose(int socket)
Used by the server to end client connections to the server. This is useful to free disconnected sockets, and also restrict connections when the server becomes busy.
// Disconnects every socket.
for (i = 0; i < socket_count; i++)
{
SocketSendString(i, "SERVER_KILL");
SocketClose(i);
}There are no talkbacks on this documentation page yet. Post the first?
Doc Nav |
![]() |
Your docs |
![]() |