Progress
External Program
Interfaces


Implementing a 4GL Socket Client

To implement a socket client, follow these general steps:

  1. Create a socket object using the CREATE SOCKET statement.
  2. Connect the socket object to the host and listening port of a socket server using the CONNECT( ) method on the socket handle.
  3. Read and write data on the socket and otherwise manage the socket.

The tasks required to read and write data on a socket and to manage the socket are identical for both socket clients and socket servers. For more information, see the "Read, Writing, and Managing Sockets On Clients and Servers" section.


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