Simulating HTTP Client using VB.Net TcpClient?

Posted on 2006-03-29
Last Modified: 2010-04-24
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!
Question by:rkostman
    LVL 96

    Expert Comment

    by:Bob Learned
    Why a TcpClient, and not an HttpWebRequest?


    Author Comment

    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?

    LVL 96

    Accepted Solution


    Author Comment

    Thank you!

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
    Introduction When many people think of the WebBrowser ( control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now