Kicks clients from a server.
DWORD BASS_Encode_ServerKick( HENCODE handle, char *client );
handle | The encoder handle. |
client | The client(s) to kick... "" (empty string) = all clients. Unless a port number is included, this string is compared with the start of the connected clients' IP address. |
BASS_ERROR_HANDLE | handle is not valid. |
BASS_ERROR_NOTAVAIL | No matching clients were found. |
BASS_Encode_ServerKick(encoder, "1.2.3.4:1234");
Kick all clients connected from 1.2.3.4.
BASS_Encode_ServerKick(encoder, "1.2.3.4:");