Simulating HTTP Client using VB.Net TcpClient?

Hello,
VB.Net Newbie here so excuse me if this has an obvious answer.

How can I simulate a HTTP Client using VB.Net TcpClient?

I need to be able to submit requests and handle responses from an existing IIS .Net ASPX Site.

Example code (or links to it) would be appreciated!
Thank you!
RKD
rkostmanAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Bob LearnedCommented:
Why a TcpClient, and not an HttpWebRequest?

Bob
0
 
rkostmanAuthor Commented:
Hi Bob,
Thanks for the quick response.  I'm a newbie so I'm not familiar with

Does this mean there's a HttpWebResponse too?

HttpWebRequest.  Do you have a link to a decent example with Requests and Resonses?

Thanks!
RKD
0
 
rkostmanAuthor Commented:
Thank you!
0
All Courses

From novice to tech pro — start learning today.