A method and system for maintaining real-time conversations over
unreliable connections is provided. The reliable messaging system
initiates a conversation from a sending participant to a receiving
participant by sending an invitation to join the conversation to the
receiving participant. Once a connection is established, the reliable
messaging system associates the conversation with the connection. If the
connection is lost, then the reliable messaging system attempts to
restore the connection by sending an invitation to the participant that
was disconnected. If the reliable messaging system is able to restore the
connection, then the new connection is associated with the previous
conversation, and the conversation can continue.