Im not sure how to start this one off...If anyone knows anything about it please help me!
This topic has already been covered. Use the search feature and you should find what your looking for.
infact proxy support isnt that hard, i think botdev has socks5, and socks 4 isnt much harder but i have a couple of more things to cover before i get it!
Quote from: DarK.ReaPeR on March 25, 2003, 02:37 PM
Im not sure how to start this one off...If anyone knows anything about it please help me!
You should Try Google.ca
pscode.com (very useful)
news groups
and Here (http://forum.valhallalegends.com/phpbbs/index.php?board=17;action=search) Seriously...
Raza I have tried both (Google Gives me all this crap that has nothing about Proxie Support) And SiMi im suprised, Thought you would Flame Me out of my Seat, And i'll Look back at that other Post, Thanks Guys
Search Results (http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=vb+proxy+support&btnG=Google+Search)
i guess that work :D Thanks...
well, he needs to know how to spell proxy before succesfully finding information about it with a search engine
Spht or Skywing Could you help me out? ~ It would be much appreicated...And i can spell Proxy Properly....
Now you do!
This issue has been asked before, and has been asked by me even :-p. But i never got a solid answer. Spht suggested a doc on his site, which was copied from the forums, and no offense, it was the worst document ive ever seen.
www.socks.nec.com actually has some good docs on the procedure, and its a lot simpler then youd think, assuming that you know programming well and binary protocols as well.
If you need help with that, id check out botdev.valhallalegends.com and check out the doc entitled "Battle.net Packet Education".
One At A Time Please...
Awnser Lies Within... Have Fun Diggin'
http://www.vbdiamond.com/Sources/ViewSource.asp?ID=17819
dont cp it.. yull get nowhere *cough* dig'
Private Function GetNextSocks4ConnectBytes(ByRef Ret as Byte()) as Integer
Dim ASCII as new ASCIIEncoding
Dim ConnectBytes() as Byte
Dim Buffer() as Byte
Select Case m_SocksStep
Case 0
Redim ConnectBytes(ProxyUsername.Length + 8 + CType(IIf(ProxyUseRemoteDNS, ProxyRemoteHost.Length + 1, 0), Integer))
ConnectBytes(0) = 4 'SOCKS version 4
ConnectBytes(1) = 1 'We want to CONNECT
'The port we want to CONNECT to
ConnectBytes(2) = CType(CType(RemoteEndPoint, IPEndPoint).Port \ 256, Byte)
ConnectBytes(3) = CType(CType(RemoteEndPoint, IPEndPoint).Port Mod 256, Byte)
'The IP address we want to CONNECT to
If ProxyUseRemoteDNS Then
ConnectBytes(4) = 0
ConnectBytes(5) = 0
ConnectBytes(6) = 0
ConnectBytes(7) = 1
Else
ConnectBytes(4) = CType(CType(RemoteEndPoint, IPEndPoint).Address.Address Mod 256, Byte)
ConnectBytes(5) = CType((CType(RemoteEndPoint, IPEndPoint).Address.Address \ 256) Mod 256, Byte)
ConnectBytes(6) = CType((CType(RemoteEndPoint, IPEndPoint).Address.Address \ 65536) Mod 256, Byte)
ConnectBytes(7) = CType(CType(RemoteEndPoint, IPEndPoint).Address.Address \ 16777216, Byte)
End If
'The username
Buffer = ASCII.GetBytes(ProxyUsername)
Buffer.CopyTo(ConnectBytes, 8)
'NULL terminator
ConnectBytes(ProxyUsername.Length() + 8) = 0
'If we use RemoteDNS, append host
If ProxyUseRemoteDNS AndAlso ProxyRemoteHost.Length > 0 Then
Array.Copy(ASCII.GetBytes(ProxyRemoteHost), 0, ConnectBytes, ProxyUsername.Length() + 9, ProxyRemoteHost.Length)
ConnectBytes(ProxyUsername.Length + 9 + ProxyRemoteHost.Length) = 0
End If
Ret = ConnectBytes
Return 8
Case Else
Return Nothing
End Select
m_SocksStep+=1
End Function
'/me bows (gg)'
That looks a lot like .NET, is it?