Progress
Language Reference


Server Socket Object Handle

Interfaces
OS
SpeedScript
All
All
No

A handle to a server socket object. This object allows you to listen for and accept TCP/IP socket connections on a given port.

SYNTAX

server-socket-handle [ :attribute | :method ] 

server-socket-handle

A handle variable that references a server socket object created by the CREATE SERVER-SOCKET statement that, in turn, allows you to listen for and accept multiple connections on a given port.

attribute

An attribute of the server socket handle. The attributes are listed in the table that follows:

Attribute
Type
Readable
Setable
HANDLE
CHARACTER
HANDLE
HANDLE
CHARACTER
LOGICAL
CHARACTER

method

A method of the server socket handle. The methods are listed in the table that follows:

Method
Return Type
Description
LOGICAL
Indicates that new connections should no longer be accepted on the server socket.
LOGICAL
Specifies the TCP/IP port that Progress should use to listen for new connections. Once called, Progress will automatically listen for and accept new connections for the specified port.
LOGICAL
Identifies the name of the procedure that is invoked when a CONNECT event occurs.

EVENTS

Event Type
Supported

NOTE

The server socket object is used to enable Progress to listen to and accept new connections from socket clients; it is via the socket object that clients and servers communicate. For more information on using sockets, see the Progress External Program Interfaces manual.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095