I'm a beginner in C# .net
I did saw some tutorials for creating socket and send Read data and some tutorials creating "UDPClient" send and receive the data
Which one is better "Socket" or "UDPClient" and what is difference give any example.
I'm a beginner in C# .net
I did saw some tutorials for creating socket and send Read data and some tutorials creating "UDPClient" send and receive the data
Which one is better "Socket" or "UDPClient" and what is difference give any example.
UDPClient is built on top of Socket and is designed to make it easier to construct UDP based applications. In general, it's typically easier to leverage UDPClient so you don't have to deal with the low level details as much.