BWYServerGetSockAddr Function

Overview

Fill the client address information in a SOCKADDR_IN structure.

Declaration

BOOL WINAPI BWYServerGetSockAddr(HANDLE hClient, SOCKADDR_IN *psaClient);

Parameters

  • hClient
    The client handle whose socket address information will be returned.
  • psaClient
    A pointer to a structure of type SOCKADDR_IN. This structure will contain information such as the client's IP address.

Return Value

Returns TRUE if the function call succeeded.

Windows Requirements

HeaderBWYSystemsServer.h
LibraryBWYSystemsServer.lib
DLLBWYSystemsServer.dll

Linux Requirements

HeaderBWYSystemsServer.h
Shared LibrarylibBWYSystemsServer.so