Maintenance Notice - PDF Generation
Dynamic PDF generation for web-based content is temporarily unavailable. This maintenance affects dynamic PDF files that are generated from either the HTML-based page or manual that you are viewing. Links that normally allow this functionality have been hidden, and will reappear as soon as the feature is restored.


Note: Access to static files, including PDF files that are not dynamically generated from our web-based content, is unaffected.

Jump to: navigation, search

TScanServerEx

Description

Scans T-Server for one or more incoming messages and special events for a time interval specified by the parameter timeout, and processes the timers and the pending messages as specified by the parameter scan_mode. This function is used to synchronize with the socket operation while operating in asynchronous mode, or in synchronous mode when ADDP is used.

Parameters

Name Description
server Local server handle to the T-Server in question.
timeout Time interval, in seconds, during which a message from T-Server will be sought.
scan_mode The scanning mode.

Return Values

>0 — Number of received messages.

0 — The timeout is expired.

-1 — Error condition. Returned to the application if the request has not been processed due to an incorrect function statement.

Comments

This function does not generate any messages to T-Server.

This page was last edited on March 17, 2016, at 18:07.

Feedback

Comment on this article:

blog comments powered by Disqus