Sockets/TCPClient

  • Thread starter Thread starter Adam Honek
  • Start date Start date
A

Adam Honek

Hello,

When we have the following:

Private MyListener As TcpListener

And then we want to initiate a client connection then what is the technical
difference
between the following:

Dim x As New Client(MyListener .AcceptSocket)

Dim x As New Client(MyListener .AcceptTcpClient)

I.E. from what I see through various source code samples we can either
initialize
a connection via a socket or via a TCPclient.

Isn't TCP just a protocol???

Could someone explain or point me to some good online guide as to the
differences and what is best etc.

Thanks,

Adam
 
Back
Top