Handle

Use the Handle procedure to specify that you want to receive notifications in the given set as shown in Figure 1. You must always use it after calling the BeginTcpIp procedure and before accessing the TCP/IP services. This Pascal set of notifications can contain any of the NotificationEnumType values shown in Figure 1.

Figure 1. Handle example
   procedure Handle
            (
                 Notifications: NotificationSetType;
        var    ReturnCode: integer
            );
            external;
Parameter
Description
Notifications
The set of notification types to be handled.
ReturnCode
Indicates success or failure of the call. Possible return values are:
  • OK
  • NOTyetBEGUN

For a description of Pascal return codes, see Table 1.