All pastes #437290 Raw Edit

Stuff

public text v1 · immutable
·published 2007-04-12 23:32 UTC
rendered paste body
            try
            {
                cl = new TcpClient("www.google.ch", 80);
            }
            catch
            {
                nStream = cl.GetStream();
                sReader = new StreamReader(nStream);
                sWriter = new StreamWriter(nStream);
            }
            try
            {
                string s;

                sWriter.WriteLine("GET / HTTP/1.1\n\n");
                s = sReader.ReadLine();
                this._tbWeb.Text = s;
               
            }
            catch { }