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.

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on June 27, 2017, at 12:22.