• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 15. Communication Application Ar... > Handling Connection Failures

Handling Connection Failures

Connection failures come part and parcel with any technology that uses a remote connection. A Communication Server application is subject to temporary or sustained network interruptions. To build a stable Flash Communication application, you must be prepared to handle these outages and what happens when a client reconnects.

There are two considerations when handling connection failures. Routines must be developed for the server and the client to handle a connection failure independently. If the plug is pulled on a network connection, all messages and persistent data (streams) between the server and client are halted immediately. The NetConnection object on the client and the Application object on the server are your two tools for informing you that a connection has failed.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint