the internet transport protocol

Upload: rajaram-pandian

Post on 09-Apr-2018

225 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/7/2019 The Internet Transport Protocol

    1/12

    (TCP AND UDP)

  • 8/7/2019 The Internet Transport Protocol

    2/12

    1. Connection oriented Protocol

    e.g. :- TCP

    2. Connectionless Protocol

    e.g. :- UDP

  • 8/7/2019 The Internet Transport Protocol

    3/12

    TCP was specially designed to provide a reliable end to

    end byte stream over an unreliable internet or

    internetwork

    Internetwork is differs from Single network ?

    Reason : It differs because different parts may have

    widely different topologies ,bandwidths , delays, packet

    sizes and etc.

    TCP was designed to accept the properties of internetwork

  • 8/7/2019 The Internet Transport Protocol

    4/12

    TCP was formally defined in RFC 793.

    As time gone , there are various errors and

    inconsistency occur.

    To overcome this they introduce RFC1122.

    And the extension of this is given in RFC1323.

  • 8/7/2019 The Internet Transport Protocol

    5/12

    Each machine supporting TCP has a transport entity.

    Transport entity - 1. User process or

    2. The Part of the Kernel It will manage the TCP

    streams and interface to the IP layer.

    This entity accept user data stream from the local machine

    and that will break up into pieces and the piece will not

    exceed 64bytes.

    And after breaking it will send each packet as Separate IP

    datagram.

  • 8/7/2019 The Internet Transport Protocol

    6/12

    The IP datagram are send to the another TCP machine .

    After receiving the datagram, the transport entity will

    reconstruct the original byte stream.

    The IP layer gives no guarantee that datagram will be

    received properly.

    If its not properly send also its up to TCP layer to send

    again the datagram.

  • 8/7/2019 The Internet Transport Protocol

    7/12

    Sockets - TCP service is obtained by creating

    both the sender and receiver create

    end points.

    Port - Each socket has a socket number

    (address).

    It consist of IP address of the host

    and 16 bit number local to that host.

  • 8/7/2019 The Internet Transport Protocol

    8/12

    A socket may be used for multiple connection.

    For e.g. - We can use the same socket to terminate

    the multiple connection.

    Port number below 1024 - Well known port

    and they are reserved for standard service.

    To obtain the TCP service we have to establish the

    connection explicitly between sending machine

    and a receiving machine

  • 8/7/2019 The Internet Transport Protocol

    9/12

    TheconnectionsareFull-duplexandpointtopoint.

    Fullduplex Trafficcanflowinboth

    directionatasametime.

    Pointtopoint Exactlyitconsistsoftwo

    endpoints.

    Itdoesntsupportmulticastingorbroadcasting.

    TCP connectionisabytestreamandnotamessage

    stream.

  • 8/7/2019 The Internet Transport Protocol

    10/12

    In TCP the data are sent in the form of segment.

    A segment consist of a 20 byte header.

    Two limits restrict the segment size

    1. Each segment including the TCP header ,

    must fit in the 65,535 byte.

    2. Each network has a maximum transfer

    unit(MTU), and each segment must fit into the

    MTU.

  • 8/7/2019 The Internet Transport Protocol

    11/12

    If the segments are too large enough . Such that

    network cant handle the size means .

    It must be broken up into multiple segments by the

    router.

    The basic protocol used by the TCP entities is the

    sliding window protocol.

  • 8/7/2019 The Internet Transport Protocol

    12/12

    By

    N .Krishna Priya