COMPUTER NETWORKING

TRANSPORT LAYER

INTRODUCTION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
To use the services of UDP, we need ____ socket addresses.
A
4
B
2
C
3
D
none of the above
Explanation: 

Detailed explanation-1: -To use the services of UDP, we need socket addresses. Explanation : To use the services of UDP (User Datagram Protocol), we need two socket addresses: a source socket address and a destination socket address.

Detailed explanation-2: -User Datagram Protocol (UDP) refers to a protocol used for communication throughout the internet. It is specifically chosen for time-sensitive applications like gaming, playing videos, or Domain Name System (DNS) lookups.

Detailed explanation-3: -Create a socket with the socket() function; Bind the socket to an address using the bind() function; Send and receive data by means of recvfrom() and sendto().

Detailed explanation-4: -Lossless data transmission. UDP can be used in applications that require lossless data transmission. Gaming, voice and video. Services that don’t need fixed packet transmission. Multicasting and routing update protocols. Fast applications.

There is 1 question to complete.