0% found this document useful (0 votes)
13 views2 pages

Socket

This document defines and describes several key networking concepts: 1) An IP address is a unique number assigned to each node or device on a network, composed of octets ranging from 0 to 255, and it can be changed. 2) A protocol is a set of rules that govern communication between devices, such as TCP, FTP, SMTP, and POP3. 3) A port number uniquely identifies different applications and acts as the communication endpoint between applications, associated with the IP address.

Uploaded by

Er. Shivam
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
0% found this document useful (0 votes)
13 views2 pages

Socket

This document defines and describes several key networking concepts: 1) An IP address is a unique number assigned to each node or device on a network, composed of octets ranging from 0 to 255, and it can be changed. 2) A protocol is a set of rules that govern communication between devices, such as TCP, FTP, SMTP, and POP3. 3) A port number uniquely identifies different applications and acts as the communication endpoint between applications, associated with the IP address.

Uploaded by

Er. Shivam
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 2

1) IP Address

IP address is a unique number assigned to a node of a network e.g. 192.168.0.1 . It is composed of octets that
range from 0 to 255.

It is a logical address that can be changed.

2) Protocol

A protocol is a set of rules basically that is followed for communication. For example:

o TCP
o FTP
o Telnet
o SMTP
o POP etc.

3) Port Number

The port number is used to uniquely identify different applications. It acts as a communication endpoint
between applications.

The port number is associated with the IP address for communication between two applications.

4) MAC Address

MAC (Media Access Control) address is a unique identifier of NIC (Network Interface Controller). A network
node can have multiple NIC but each with unique MAC address.

For example, an ethernet card may have a MAC address of 00:0d:83::b1:c0:8e.

5) Connection-oriented and connection-less protocol

In connection-oriented protocol, acknowledgement is sent by the receiver. So it is reliable but slow. The
example of connection-oriented protocol is TCP.

But, in connection-less protocol, acknowledgement is not sent by the receiver. So it is not reliable but fast. The
example of connection-less protocol is UDP.

6) Socket

A socket is an endpoint between two way communications.

Visit next page for Java socket programming.

You might also like