Basically the function of the Transport Layer, is to accept data from the Session Layer, split it up into smaller units if required, pass thses to the network layer, and ensure that the pieces all arive correctly at the receiver. Furthermore, all of the above must be carried out efficiently, and in a manner that isolates the Session Layer from the inevitable changes in technology. Moreover, it provides a bridge between the lower network-depdendent protocol layers already considered and the higher application dependent layers.
Under normal conditions, teh transport layer creates a distinct network connection for each transport connection required by the session layer. If the transport connection requires a high throughput, however, the transport layer might create multiple network connections, dividing the data among the network connections to improve throughput. Thus the trasnport layer determines the type of service to provide to the session layer and this can range from:
The transport layer is a tangible sorce to destination layer. In other words, a prgram on the source machine carries on a conversation with a similar program on the destination machine. In the lower layers, the protocols are between each machine and its immediate neighbours, and not by the ultimate source and destination machines. The difference is that layers 1 through 3 are chained whereas layers 4 through 7 are end-to-end.
In addition to multiplexing several message streams onto one channel, teh transport layer must take care of establishing and deleting connections across the network. Clearly this involves some sort of naming mechanism, so that a process on one machine has a method of desribing whom it wishes to converse.
Services provided to the session layer
Below are some of the functions found within the Transport Layer:
Thus, in effect, the transport layer provides the session layer with a dependable message trasnfer service which does not depend on teh features of the underlying network.