BWYServerDisconnect Function

Overview

Disconnect a client from the server. Please read remarks on when to use.

Declaration

BOOL WINAPI BWYServerDisconnect(HANDLE hClient);

Parameters

  • hClient
    The client handle to be disconnected from the server.

Return Value

If the function succeeds it returns TRUE otherwise FALSE. The return value of FALSE will most likely occur if the client is already disconnected.

Remarks

This function should only be used when the client cannot be disconnected by returning FALSE in one of the event callback functions.

Windows Requirements

HeaderBWYSystemsServer.h
LibraryBWYSystemsServer.lib
DLLBWYSystemsServer.dll

Linux Requirements

HeaderBWYSystemsServer.h
Shared LibrarylibBWYSystemsServer.so