HixlCSServerListen

Function Description

Starts server listening to accept connections from the client.

Prototype

HixlStatus HixlCSServerListen(HixlServerHandle server_handle, uint32_t backlog);

Parameters

Parameter

Input/Output

Description

server_handle

Input

Handle to a server instance.

backlog

Input

Maximum length of the connection queue.

Returns

  • HIXL_SUCCESS: Success.
  • HIXL_PARAM_INVALID: Incorrect parameter.
  • Other values: Failure.

Constraints

Before the client calls HixlCSClientConnect to establish a link with the local end, listening must be completed.