Progress
Language Reference


CREATE SOCKET Statement

Interfaces
OS
SpeedScript
All
All
Yes

Creates a socket object and assigns it to the handle variable specified. It is through this object that the application can connect to a TCP/IP port and read and write on the socket bound to the port.

SYNTAX

CREATE SOCKET handle [ NO-ERROR ] 

handle

Variable of type HANDLE into which CREATE SOCKET stores the new socket handle.

NO-ERROR

Specifies that any errors that occur during the creation of the socket handle are suppressed. After the CREATE SOCKET statement completes, the ERROR-STATUS system handle can be checked for information about any errors that might have occurred.

SEE ALSO

CREATE SERVER-SOCKET Statement, DELETE OBJECT Statement, Server Socket Object Handle, Socket Object Handle


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