Tuesday, September 13, 2011

Connection versus Session

Often people who are studying the networking are confused with the concept of What is difference between connection and session.

Connection and Session are different Things Altogether

A connection is a transport level connection between two peers, used to send and receive Diameter messages.
A session is a logical concept at the application layer, and is shared between an access device and a server, and is identified via the Session-Id AVP.


+--------+            +---------+             +----------+
| Client |             | Relay |              | Server |
+--------+            +---------+             +----------+


           <---------->           <----------->
     peer connection A    peer connection B


<------------------------------------------------------------>
                      User session x







[From RFC 3588]

No comments:

Post a Comment