Copyright ® (1999-2005) EDMGROUP Pty Ltd - EZY Prolog Reference

List of predicates for group Sockets

[This is preliminary specification and subject to change.]

List of all groups


Type

Predicate

Parameters

Flow pattern

Description

determ

socket_create

WINDOW CTRLWIN,
STRING SERVER,
INTEGER PORT,
STRING CALLBACK

(i,i,i,i)

Create connection with the server

determ

socket_destroy

WINDOW CTRLWIN

(i)

Destroy connection with the server

determ

socket_property

INTEGER SOCKET,
STRING SERVER

(i,o)

Returns properties of the opened SOCKET

nondeterm

socket_server_connection

INTEGER SOCKET

(o)

determ

socket_server_execute

WINDOW CTRLWIN,
STRING CLAUSE_TO_RUN,
INTEGER TIMEOUT,
STRING RESULT

(i,i,i,o)

determ

socket_server_start

WINDOW CTRLWIN,
INTEGER PORT,
STRING CALLBACK_CLAUSE

(i,i,i)

Start socket server

determ

socket_server_stop

WINDOW CTRLWIN

(i)

Stop socket server

determ

socket_tell

WINDOW CTRLWIN

(i)

Open socket for remote output

determ

socket_told

WINDOW CTRLWIN

(i)

Close socket for remote output

determ

socket_write_redirect

WINDOW CTRLWIN,
INTEGER YES_NO

(i,i)

Define redirection option for the WINDOW

determ

socket_write_str

WINDOW CTRLWIN,
STRING MESSAGE

(i,i)

Write string to the WINDOW with oepned SOCKET


Copyright © 1998-2005 EDMGROUP (Australia)