Use the SocksInfo property to set or retrieve values for SOCKS4 or SOCKS5 servers. (SOCKS is a protocol for a TCP proxy across firewalls.)
String Object.SocksInfo
"socks4://socksusername:sockspassword@sockshostname:socksport" |
For SOCKS4 servers that require authentication. |
"socks5://socksusername:sockspassword@sockshostname:socksport" |
For SOCKS5 servers that require authentication. |
"socks4:// sockshostname:socksport" |
For SOCKS4 servers that do not require authentication. |
"socks5:// sockshostname:socksport" |
For SOCKS5 servers that do not require authentication. |
"socksusername" |
The user name or log in name to the SOCKS server. |
"sockspassword" |
The password for the SOCKS server. |
"sockshostname" |
The address and port for the SOCKS server. |
MySite.SocksInfo = "socks4//globalscape.com:1080" 'use socks4 without authorization
MySite.SocksInfo = "socks5://joeuser:mypass@globalscape.com:1080" ‘use socks5 with authorization for user "joeuser" with password "mypass"
str = MySite.SocksInfo ‘retrieve the current value of SocksInfo (empty if none)
MsgBox str ‘now display it