Kicks clients from a server.
BOOL BASS_Encode_ServerKick( HENCODE handle, char *client );
handle | The encoder handle. |
client | The address of the client(s) to kick... NULL (or empty string) = all clients. This should be an IPv4 or IPv6 address, optionally with a port number or netmask. If a port is not specified then all ports connected from the IP address are kicked. A netmask may be specified in CIDR notation to kick a block of IP addresses. |
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");
Kick all clients connected from 1.2.3.x.
BASS_Encode_ServerKick(encoder, "1.2.3.0/24");