COMPUTER NETWORKING

TRANSPORT LAYER

INTRODUCTION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which action is performed by a client when establishing communication with a server via the use of UDP at the transport layer?
A
The client randomly selects a source port number.
B
The client sends a synchronization segment to begin the session.
C
The client sets the window size for the session
D
The client sends an ISN to the server to start the 3-way handshake.
Explanation: 

Detailed explanation-1: -Answer: The client randomly selects a source port number. Explanation: When establishing communication with a server via the use of UDP at the transport layer, the client randomly selects a source port number and sends a datagram to the server.

Detailed explanation-2: -Which protocol or service uses UDP for a client-to-server communication and TCP for server-to-server communication? Explanation: Some applications may use both TCP and UDP. DNS uses UDP when clients send requests to a DNS server, and TCP when two DNS serves directly communicate.

Detailed explanation-3: -So DNS uses transport layer protocol UDP.

Detailed explanation-4: -The source port number, which identifies the process that sent the data, and the destination port number, which identifies the process that is to receive the data, are contained in the first header word of each TCP segment and UDP packet.

There is 1 question to complete.