0
votes

I'm currently using Socket class on both server and client to establish udp connection, right now it is working very well but I saw there was another way of using udp sockets, the UdpClient class. My question is what should I use for 3d multiplayer game? Is it affects performance? etc..... Thanks in advance!

1

1 Answers

0
votes

UdpClient is wrapper class written on Socket class. It is written specifically to use UDP features of socket. you can access the socket instance of UdpClass with property named Client. Like TcpClient is also written on Socket which is used for TCP communication.