What is the role of the System.Net.WebSockets.WebSocket class in C#?
A. To handle HTTP requests and responses
B. To establish a connection to a TCP server
C. To create a UDP client
D. To provide full-duplex communication over a single, long-lived connection
Answer: Option D

Join The Discussion