8 Writing Event-based Clients and Servers This topic includes the following sections: Overview of Events Defining the Unsolicited Message Handler Sending Unsolicited Messages Checking for Unsolicited Messages Subscribing to Events Unsubscribing from Events Posting Events Example of Event Subscription