Release 10.1A: OpenEdge Development:
Programming Interfaces

> ## Implementing a 4GL socket client

> This section describes how to implement a 4GL socket client.

> | To implement a socket client:

> 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 © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095