Has anyone implemented proxy support for their bot? (VB)
If so, I'd like to know how you went about it.
Thanks
hrm if you mean Socks, Yes i can add that
If you need the source contact me
Is VB proxy code not posted on documents or botdev to do that? I'm sure it was in the past. Let me know. If not, I'm pretty sure I can find it and post it again.
It was on your main page at one point.
~l)ragon
Are you referring to this?
http://botdev.valhallalegends.com/documents/vbsocks5.html
'Copy ip long into a struct with 4 byte members
Dim server As Long
server = inet_addr(ServerList.Text)
CopyMemory INet(0), server, 4
sGet = sGet & Chr(INet(0)) & Chr(INet(1)) & Chr(INet(2)) & Chr(INet(3))
Dim sPort1, sPort2 As Long
i dont know what hes doin here
Quote'Copy ip long into a struct with 4 byte members
Dim server As Long
server = inet_addr(ServerList.Text)
CopyMemory INet(0), server, 4
sGet = sGet & Chr(INet(0)) & Chr(INet(1)) & Chr(INet(2)) & Chr(INet(3))
Dim sPort1, sPort2 As Long
i dont know what hes doin here
That's converting an IP address in dotted quad format to a DWORD inside of a VB string.
Yes, most anything u see in vb that uses copymemory has to do with turning an integer into a dword or something like that
that source doesnt work.
Quotethat source doesnt work.
its not a source its a doc, you prolly copied it as is you...
Can somone fix that doc and put it more indepth? The reason is because when you send the first thing to the proxy you receave Chr(0) and Chr(4) but when you receive that you send another thing using the same winsock and receive chr(0) so it binds up with the first chr(0) receave...