Jump to: navigation, search

TOpenMode

Syntax

typedef enum {
	SyncMode,
	AsyncMode
} TOpenMode;

Values

  • SyncMode — Synchronous client-server communication mode. This is a blocking mode, which means the read or write function does not return to the calling process until the operation is complete and the requested data has been written into or read from the socket.
  • AsyncMode — Asynchronous client-server communication mode. The asynchronous communication mode requires the use of the TScanServerEx function. To force delivery of pending messages, use TScanServerEx with the TSCAN_MODE_WRITE scanning mode. This is a non-blocking mode. In this mode, the result of the request is returned immediately after the operation is started or queued.
This page was last edited on March 17, 2016, at 18:08.
Comments or questions about this documentation? Contact us for support!