Jump to content
Xtreme .Net Talk

Sylonious

Avatar/Signature
  • Posts

    32
  • Joined

  • Last visited

Sylonious's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. How do you delete an item without selecting it? listbox.items.Removeat(1) does not work for me.
  2. How do I make a connection with a socks proxy? The decimal numbers appearing in packet- format diagrams represent the length of the corresponding field, in octets. http://www.cutv.com/Zeke.jpg
  3. I need Socks5 or Socks4 Support for my program. How do I do this? I am programming in vb.net but C#.Net would be fine because I can easily convert it. Please help me. Thank you.
  4. This should work! System.Net.WebProxy Dim proxyObject As New WebProxy("http://proxyserver:80/", True) Dim req As WebRequest = WebRequest.Create("http://www.contoso.com") req.Proxy = proxyObject Make sure the proxy works. I spent alot of time because I did not know the proxy was bad.
  5. My program does not do that. I would have to look up the RFC commands to find it. It's not like I am a guru or anything I just looked for the code.
  6. ok Proxye = Proxy.Text.ToString.Split(":") Dim Proxyz As String = System.Net.Dns.GetHostByAddress(Proxye(0)).HostName.ToString Client.Connect(Proxye(0), Proxye(1)) Dim ns As NetworkStream = Client.GetStream() ' Do a simple write. Dim sendBytes As [byte]() = Encoding.ASCII.GetBytes("CONNECT " & Host.Text & ":" & port & " HTTP/1.1" & ControlChars.CrLf & "Host: " & host.Text & ":" & port & ControlChars.CrLf & ControlChars.CrLf) ns.Write(sendBytes, 0, sendBytes.Length) Simple. If you want to use a proxy for webpages you have to send a little more info.
  7. It gets an error on the line where it shifts Right by 8 (/ 256). It could be any number of things. I don't know whether or not it is shfting correctly and what or what not transfered over properly. I tried to convert as much as I could along with the converter but it still does not work.
  8. I've already used a converter. Could you take a look at it. The problem could possbly be only a small problem but I can't figure out what the problem is.
  9. Yes I was trying to convert the C# file to a vb.net(mx server.zip).
  10. I am having problems getting the Mx Record in my program? Could someone please help me. I was trying to convert this program. http://www.dotnet247.com/247reference/msgs/28/143166.aspx :( mx server.zip
  11. So (data[position++] ) /256 would be wrong for shifting right 8?
  12. C#: (data[position++] << 8) vb.NET? How do I do a right shift and a left shift like this one in vb.net? http://www.cutv.com/BThumb.jpg
  13. Special Stealh Proxies? What is so special about the specal steath proxies?
  14. Yep. It's amazing how many more possibilities there are when you start to make your own programs.
  15. Actually, that is an old post. I finished that part of the program I needed to make a socket connection to a proxy and then to a host.
×
×
  • Create New...