By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,029 Members | 1,330 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,029 IT Pros & Developers. It's quick & easy.

Sockets/TCPClient

P: n/a
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

Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
http://www.eggheadcafe.com/articles/20020323.asp
www.vbip.com

Adam Honek wrote:
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


Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.