Piotr,
Well, when using the TcpClient vs the Socket, you probably want to use
the client most of the time, since it exposes the underlying Socket through
the Client property.
Now, comparing those to HttpWebRequest, with HttpWebRequest, it wraps
all of the protocol interaction for you, forming the request, parsing the
response, etc, etc. You don't have that with the TcpClient/Socket.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Piotrekk" <Pi*************@gmail.comwrote in message
news:fd**********************************@x69g2000 hsx.googlegroups.com...
Hi
I have a question related to Socket class. What are the advantages /
disadvantages of using Socket class comparing to TcpClient and
HttpWebRequest
Regards
Piotr Kołodziej