HomeSort by relevance Sort by last modified time
    Searched defs:socks5 (Results 1 - 2 of 2) sorted by null

  /prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/proxy/
socks5.go 14 // SOCKS5 returns a Dialer that makes SOCKSv5 connections to the given address
16 func SOCKS5(network, addr string, auth *Auth, forward Dialer) (Dialer, error) {
17 s := &socks5{
30 type socks5 struct { type
63 // Dial connects to the address addr on the network net via the SOCKS5 proxy.
64 func (s *socks5) Dial(network, addr string) (net.Conn, error) {
68 return nil, errors.New("proxy: no support for SOCKS5 proxy connections of type " + network)
82 // connect takes an existing connection to a socks5 proxy server,
85 func (s *socks5) connect(conn net.Conn, target string) error {
110 return errors.New("proxy: failed to write greeting to SOCKS5 proxy at " + s.addr + ": " + err.Error()
    [all...]
  /prebuilts/go/linux-x86/src/vendor/golang_org/x/net/proxy/
socks5.go 14 // SOCKS5 returns a Dialer that makes SOCKSv5 connections to the given address
16 func SOCKS5(network, addr string, auth *Auth, forward Dialer) (Dialer, error) {
17 s := &socks5{
30 type socks5 struct { type
63 // Dial connects to the address addr on the network net via the SOCKS5 proxy.
64 func (s *socks5) Dial(network, addr string) (net.Conn, error) {
68 return nil, errors.New("proxy: no support for SOCKS5 proxy connections of type " + network)
82 // connect takes an existing connection to a socks5 proxy server,
85 func (s *socks5) connect(conn net.Conn, target string) error {
110 return errors.New("proxy: failed to write greeting to SOCKS5 proxy at " + s.addr + ": " + err.Error()
    [all...]

Completed in 657 milliseconds