Port Number & Network Socket in TCP Segment Header



Port Number & Network Socket in TCP Segment Header

Port Number & Network Socket in TCP Segment Header

Port Number & Network Socket in TCP Segment Header in Computer Networks is explained with the following timecodes:

0:00 – Port Number & Network Socket in TCP Segment Header – Computer Network
2:40 – Port Number in TCP Segment Header
6:44 – Network Socket

The following points are covered in this video:
0. Computer Network
1. Transport Layer
2. TCP Segment Header
3. Port Number in TCP Segment Header
4. Network Socket

Engineering Funda channel is all about Engineering and Technology. Here this video is a part of Computer Network.

#PortNumber #NeworkSocket #TCPSegmentHeader #TransportLayer #ComputerNetwork #EngineeringFunda

In the TCP (Transmission Control Protocol) segment header, there are two fields that indicate the port numbers: the source port and the destination port.

1. Source Port: This 16-bit field identifies the port number on the sending device or host. It specifies the application or process sending the TCP segment.

2. Destination Port: Also a 16-bit field, this indicates the port number on the receiving device or host. It specifies the application or process intended to receive the TCP segment.

These port numbers help TCP identify the correct application or service on the receiving device to which the TCP segment should be delivered. The combination of the source and destination port numbers, along with the IP addresses, forms a unique socket, allowing for the proper routing and delivery of TCP segments across the network.

Port numbers range from 0 to 65535. Well-known port numbers (0 to 1023) are reserved for specific protocols and services, such as HTTP (port 80), FTP (port 21), and SSH (port 22). Registered port numbers (1024 to 49151) are assigned by the Internet Assigned Numbers Authority (IANA) to specific applications, while dynamic or private port numbers (49152 to 65535) are available for temporary or private use. .