Click here to Skip to main content
15,897,226 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
am coding a proxy software i want to replace my Host eg Host:google.com With Host:facebook.com
If Svr.Pending = True Then
           massage = " "
           cln = Svr.AcceptTcpClient
           Dim write As New StreamReader(cln.GetStream)
           While write.Peek > -1

               massage = massage + Convert.ToChar(write.Read()).ToString
           End While


           TextBox2.AppendText(out)

       End If
Posted

1 solution

Check this out: VB.NET Replace[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900