BWYServerCreate Function

Overview

Create a new I/O completion ports TCP/IP socket server.

Declaration

HANDLE WINAPI BWYServerCreate(LPBWYSERVERSETUP lpSetup);

Parameters

  • lpSetup
    A pointer to a BWYSERVERSETUP structure. This parameter provides all the initialization information for creating the server.

Return Value

If the function succeeds it returns a valid handle to the newly created I/O completion ports TCP/IP socket server. If the function fails it returns NULL.

Remarks

If this function returns a valid handle, the socket server will be listening and ready to accept new connections.

To properly shutdown and cleanup the server, a call to BWYServerClose must be called for every succeeding call to this function.

Windows Requirements

HeaderBWYSystemsServer.h
LibraryBWYSystemsServer.lib
DLLBWYSystemsServer.dll

Linux Requirements

HeaderBWYSystemsServer.h
Shared LibrarylibBWYSystemsServer.so