BWYServerClose Function

Overview

Shutdown all socket connections and cleanup all resources of the server. Calling this function will also destroy the server handle created by BWYServerCreate.

Declaration

VOID WINAPI BWYServerClose(HANDLE hServer);

Parameters

  • hServer
    The server handle of the I/O completion ports TCP/IP server.

Return Value

There is no return value for this function.

Remarks

The function must be called to properly close every server handle created by BWYServerCreate.

Depending on the number of socket connections and worker threads, this function could take a while to return.

Windows Requirements

HeaderBWYSystemsServer.h
LibraryBWYSystemsServer.lib
DLLBWYSystemsServer.dll

Linux Requirements

HeaderBWYSystemsServer.h
Shared LibrarylibBWYSystemsServer.so