BWYServerAuthenticate Function

Overview

The internal state of clients can be either authenticated or not. This helps manage certain conditions that are only applicable to either state, like those of connection timeouts.

Declaration

BOOL WINAPI BWYServerAuthenticate(HANDLE hClient);

Parameters

  • hClient
    The client handle of the connection to be authenticated.

Return Value

Returns TRUE if the function succeeds and FALSE if the function fails or the client is already authenticated.

Remarks

This function is not thread safe. It should therefore only be called from one of the various event callback functions. If it is necessary to call this function outside of the event callback functions, then you must wrap this call inside BWYServerLockClients and BWYServerUnlockClients.

Windows Requirements

HeaderBWYSystemsServer.h
LibraryBWYSystemsServer.lib
DLLBWYSystemsServer.dll

Linux Requirements

HeaderBWYSystemsServer.h
Shared LibrarylibBWYSystemsServer.so