Stock Quotes on the Web (.NET Native!)

This example demonstrates the ease-of-use of the .NET Tcp Component. This sample connects to "finance.yahoo.com" on port 80 (the well-known port for HTTP). An HTTP GET request is then sent for the Yahoo Stock Quote Display Page, specifying the stock quote to get as a query string parameter in the url. This causes the Yahoo server to return an HTML formatted page containing the information for the stock quote, including the current price. The current price is then parsed from the response and displayed.

Symbol: