OWLNext 7.0
Borland's Object Windows Library for the modern age
|
The TStreamSocket class is a subclass of the TSocket class, and as such it supports all the notification mechanisms that the TSocket class supports.
Thus, you can call StartRegularNotification() and SetNotificationSet() on a TStreamSocket as well as on a TSocket.
The TStreamSocket class subclasses all the DoXNotification() functions. You can subclass TStreamSocket and make your own virtual DoReadNotification(), DoWriteNotification(), etc functions to receive these notifications in the subclass and respond to them any way you want.