Assembly: Bass.Net (in Bass.Net.dll) Version: 184.108.40.206
[DllImportAttribute("bassenc")] public static bool BASS_Encode_ServerKick( int handle, string client )
<DllImportAttribute("bassenc">] Public Shared Function BASS_Encode_ServerKick ( handle As Integer, client As String ) As Boolean
- Type: SystemInt32
The encoder handle.
- Type: SystemString
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.
Return ValueType: Boolean
If successful, is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
The clients may not be kicked immediately, but shortly after the call. If the server has been setup with an ENCODECLIENTPROC callback function, that will receive notification of the disconnections.
|BASS_ERROR_HANDLE||handle is not valid.|
|BASS_ERROR_NOTAVAIL||No matching clients were found.|
This function is not available on Windows CE.