COMPUTER NETWORKING

APPLICATION LAYER

SOCKET INTERFACE PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A stream is
A
A TCP data transport link
B
A group of socket connections
C
A group of packets
D
A UDP transport link
Explanation: 

Detailed explanation-1: -Stream Versus Packet-TCP/IP is a stream-oriented protocol, while UDP is a packet-oriented protocol. This means that TCP/IP is considered to be a long stream of data that is transmitted from one end of the connection to the other end, and another long stream of data flowing in the opposite direction.

Detailed explanation-2: -Layer 2 is the Data Link Layer of the OSI (Open Systems Interconnection) TCP/IP model.

Detailed explanation-3: -TCP is a connection-oriented protocol meaning it first sets up a connection to the receiver then sends the data in segments (PDU for transport layer) which is carried by IP packets. This way it’s called stream because it keeps the stream of data between to ends during transfer.

There is 1 question to complete.