Clients can participate in instant messaging only by maintaining a connection with their instant messaging servers, since it is through the servers that they send and receive messages. The connection between the client and server progresses through several stages, including authentication, operating parameter negotiation, the service loop, and session termination. Of all the stages in a connection's lifetime, the service loop is the most important, because that is where th bulk of all instant messaging activities takes place.