|
Copyright ® (1997-2005) EDMGROUP Pty Ltd - EZY Prolog Reference |
New in EZY Prolog
|
EZY DDE (Dynamic Data Exchange) HTML support |
EZY Prolog has built-in predicates, which support communication using Windows sockets. Generally speaking, EZY Prolog program can start Winsock server on defined port and exchange TEXT strings with another program (local or from the network). Programmer need to define EZY Prolog clause, which will receive Winsock messages and perform necessary actions (on client and server side). The ability to exchange messages over Windows sockets allows to use EZY Prolog in distributed applications and integrate EZY Prolog into applications, written by procedural languages (C, Delphi, Java, VB). EZY Prolog supports synchronous and asynchronous calls over the sockets. For example, socket_remote_run sends string for the execution on the server, waits for completion and obtains results of the execution. A timeout can be defined to prevent deadlock in message processing. There are several samples which demonstrate the use of EZY Sockets:
EZY Sockets provides convenient way of writing client-server GUI applications. System provides strong association between WINDOW and created communicaion socket. Window parameter can be used for direct access to GUI components of the application.
Note: You need to run these samples under EZY Prolog. Click here to download.
|
Copyright © 1997-2003 EDMGROUP (Australia)
Last Updated:
September 14, 2003