WebSpeed
Product Update Bulletin
Sockets
WebSpeed Version 3.1A provided SpeedScript support for accessing TCP/IP sockets directly rather than having to use the HLC Interface. SpeedScript supports both client side and connection-oriented server side implementations. This section describes language extensions to SpeedScript that enable WebSpeed applications to use TCP/IP sockets:
- New socket object and the following new and modified SpeedScript elements that support it:
- New CREATE SOCKET statement
- Modified DELETE OBJECT statement
- New BYTES-READ attribute
- New BYTES-WRITTEN attribute
- New REMOTE-HOST attribute
- New LOCAL-HOST attribute
- Modified PRIVATE-DATA attribute
- New REMOTE-PORT attribute
- New LOCAL-PORT attribute
- Modified TYPE attribute
- Modified NEXT-SIBLING attribute
- Modified PREV-SIBLING attribute
- Modified HANDLE attribute
- Modified NAME attribute
- Modified SENSITIVE attribute
- Modified CONNECT( ) method
- New SET-READ-RESPONSE-PROCEDURE( ) method
- New READ( ) method
- New WRITE( ) method
- Modified DISCONNECT( ) method
- Modified CONNECTED( ) method
- New GET-BYTES-AVAILABLE( ) method
- New SET-SOCKET-OPTION( ) method
- New GET-SOCKET-OPTION( ) method
- New server socket object and the following new and modified SpeedScript elements that support it:
- New CREATE SERVER-SOCKET statement
- Modified DELETE OBJECT statement
- Modified TYPE attribute
- Modified PRIVATE-DATA attribute
- Modified HANDLE attribute
- Modified NAME attribute
- Modified SENSITIVE attribute
- New ENABLE-CONNECTIONS( ) method
- New SET-CONNECT-PROCEDURE( ) method
- New DISABLE-CONNECTIONS( ) method
- New socket events:
- Modified handles for socket support:
- Miscellaneous new and modified statements and functions for marshalling and unmarshalling data for socket support:
- Modified LIST-EVENTS function
- Modified LIST-QUERY-ATTRS function
- Modified LIST-SET-ATTRS function
- Modified LIST-WIDGETS function
- Modified GET-DOUBLE function
- Modified GET-FLOAT function
- Modified GET-LONG function
- Modified GET-SHORT function
- Modified GET-UNSIGNED-SHORT function
- Modified PUT-DOUBLE statement
- Modified PUT-FLOAT statement
- Modified PUT-LONG statement
- Modified PUT-SHORT statement
- Modified PUT-UNSIGNED-SHORT statement
- Modified GET-STRING function
- Modified PUT-STRING statement
- New GET-BYTES function
- New PUT-BYTES statement
- Miscellaneous new statements and functions for byte ordering and bit manipulation for socket support:
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |