0

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.

Sender
  • 6,660
  • 12
  • 47
  • 66
Mark Roll
  • 506
  • 3
  • 6
  • 15

1 Answers1

1

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?

Community
  • 1
  • 1
mdziob
  • 1,116
  • 13
  • 26