![]() |
Answer: No, UDP is not a two-way connection, it is a connectionless protocol that allows for two-way communication without establishing a persistent connection.Connectionless NatureUDP is inherently connectionless, meaning it does not establish a dedicated end-to-end connection before sending data. Bidirectional CommunicationDespite its connectionless design, UDP supports bidirectional communication. This means that two parties can exchange data both ways, but each exchange is independent. No Session ManagementUnlike connection-oriented protocols, UDP does not manage sessions or maintain state information about the exchanges. Each UDP packet is sent independently of others. Application ResponsibilityIt falls upon the application using UDP to implement any necessary logic to manage the flow of data, ensure data integrity, or establish a logical “connection” or sequence of communication. ConclusionWhile UDP itself does not create a two-way connection in the traditional sense of establishing a continuous link between two endpoints, it supports two-way communication through independent, stateless datagrams. |
Reffered: https://www.geeksforgeeks.org
Computer Networks |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 18 |