Reputation: 566
I will try to create a server and a client (just to communicate with each other) and I see on the internet I have the option of tcpClient and the option of Socket.
So, I would like to know which of these two is the better way, to begin with.
Upvotes: 0
Views: 206
Reputation: 1176
TcpClient is just a wrapper for Socket, and is more high-level. More info in link below: What are the benefits of using TcpClient over a Socket directly?
Upvotes: 1