Socket example using a method as a callback
- Last Updated: February 11, 2026
- 2 minute read
- OpenEdge
- Version 13.0
- Documentation
The following code examples show an interaction between a socket server
(serversocket.p) and a socket client (socketclient.p). This is an event-driven example, where
the event handler code is contained in a method called OnReadResponse within a class file (callbackclass.cls).
serversocket.p
|
socketclient.p
|
callbackclass.cls
|