Socket example using a method as a callback
- Last Updated: March 30, 2020
- 2 minute read
- OpenEdge
- Version 12.2
- 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
|