JAVA NETWORKING CONTENTS



NETWORK BASICS
JAVA NETWORKING
JAVA NETWORKING 
The important protocol in network communication is Transmission Control Protocol/Internet Protocol(TCP/IP).
The TCP/IP stack is a four layered model.
             
         1.Application Layered
         2.Transport Layered
         3.Network Layered
         4.Data Link Layered


Internet Protocol(IP)

Internet protocol is a major protocol in the TCP/IP suit.

It is a connection less, unreliable protocol which supports the transfer of data in the from of packets.

This is called connection less protocol because it does not exchange any control information before transmitting any data.

The addressing scheme used in ip is by means of IP addresses.

IP addresses are generally written as four numbers,between 0 and 255 separated by period.

An IP address is a 32 –bit unique number.

TRANSMISSION CONTROL PROTOCOL (TCP)

Transmission control protocol is a connection-oriented ,reliable protocol which supports the transfer of data in continuous streams.

This is called connection-oriented protocol because control information is sent before transmitting any data.

This process is sometimes called as handshaking.

The addressing scheme used in TCP is means of ports.

These ports are called as reserved ports.

USER DATA GRAM PROTOCOL(UDP)



The user data gram protocol(UDP) is a low-overhead protocol which can be used as an altenative to TCP protocol.

This is called connection less,unreliable protocol it does not exchange any control information before transmitting any data.

The addressing scheme used UDP is by means of ports.

IP ADDRESS

Each host on a TCP/IP network is assigned a unique 32-bit logical address that is divided into two main parts.

The ip address is grouped four into 8-bits separated by dots.
       
            1.Network number
            2.Host number

IP address is assigned ti the devices participating in computer network.


Post a Comment

Previous Post Next Post