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
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
| Header | BWYSystemsServer.h |
| Library | BWYSystemsServer.lib |
| DLL | BWYSystemsServer.dll |
Linux Requirements
| Header | BWYSystemsServer.h |
| Shared Library | libBWYSystemsServer.so |