Packet mode communication may also be connection-oriented, and is called virtual circuit mode communication. A connection-oriented packet switched protocol does not have to provide each packet with routing information (complete source and destination address), but only with a channel/data stream number, often denoted virtual circuit identifier (VCI). Routing information may be provided to the network nodes during the connection establishment phase, where the VCI is defined in tables in each node.
The alternative to connection-oriented transmission is connectionless packet-mode communication, also known as datagram communication, in which data is sent from one end point to another without prior arrangement, and no guarantees are provided. In datagram switching, each data packet must contain complete address information, since packets are routed individually. The packets may be delivered along different paths and without any guarantees, according to a best-effort policy.
Connectionless protocols are usually described as stateless because the end points have no protocol-defined way to remember where they are in a "conversation" of message exchanges. Because they can keep track of a conversation, connection-oriented protocols are sometimes described as stateful.
Examples of connection-oriented packet mode communication, i.e. virtual circuit mode communication: