Home
last modified time | relevance | path

Searched refs:socks (Results 1 – 25 of 77) sorted by relevance

1234

/third_party/curl/lib/
Dsocketpair.c61 curl_socket_t socks[2]) in Curl_socketpair()
84 socks[0] = socks[1] = CURL_SOCKET_BAD; in Curl_socketpair()
96 socks[0] = socket(AF_INET, SOCK_STREAM, 0); in Curl_socketpair()
97 if(socks[0] == CURL_SOCKET_BAD) in Curl_socketpair()
99 if(connect(socks[0], &a.addr, sizeof(a.inaddr)) == -1) in Curl_socketpair()
109 socks[1] = accept(listener, NULL, NULL); in Curl_socketpair()
110 if(socks[1] == CURL_SOCKET_BAD) in Curl_socketpair()
115 if(getsockname(socks[0], &a.addr, &addrlen) == -1 || in Curl_socketpair()
119 if(getpeername(socks[1], &a2.addr, &addrlen) == -1 || in Curl_socketpair()
132 sclose(socks[0]); in Curl_socketpair()
[all …]
Dasyn-ares.c258 curl_socket_t *socks) in Curl_resolver_getsock() argument
265 (ares_socket_t *)socks, MAX_SOCKSPEREASYHANDLE); in Curl_resolver_getsock()
294 ares_socket_t socks[ARES_GETSOCK_MAXNUM]; in waitperform() local
299 bitmask = ares_getsock((ares_channel)data->state.async.resolver, socks, in waitperform()
306 pfd[i].fd = socks[i]; in waitperform()
310 pfd[i].fd = socks[i]; in waitperform()
Dmulti.c951 curl_socket_t *socks) in domore_getsock() argument
954 return conn->handler->domore_getsock(data, conn, socks); in domore_getsock()
960 curl_socket_t *socks) in doing_getsock() argument
963 return conn->handler->doing_getsock(data, conn, socks); in doing_getsock()
969 curl_socket_t *socks) in protocol_getsock() argument
972 return conn->handler->proto_getsock(data, conn, socks); in protocol_getsock()
976 socks[0] = conn->sock[FIRSTSOCKET]; in protocol_getsock()
983 curl_socket_t *socks) in multi_getsock() argument
997 return Curl_resolv_getsock(data, socks); in multi_getsock()
1001 return protocol_getsock(data, conn, socks); in multi_getsock()
[all …]
Dsocketpair.h28 curl_socket_t socks[2]);
Dtransfer.h49 struct connectdata *conn, curl_socket_t *socks);
/third_party/node/deps/npm/node_modules/socks-proxy-agent/
DHistory.md12 * rename `socks-proxy-agent.js` to `index.js`
42 * socks-proxy-agent: cast `port` to a Number
54 * switched from using "socks-client" to "socks" (#5, @JoshGlazebrook)
59 * add client-side DNS lookup logic for 4 and 5 version socks proxies
61 * use a switch statement to decide the socks `version`
62 * refactor to use "socks-client" instead of "rainbowsocks"
76 * socks-proxy-agent: pass `secure` flag when no `new`
77 * socks-proxy-agent: small code cleanup
83 * socks-proxy-agent: properly mix in the proxy options
84 * socks-proxy-agent: coerce the `secureEndpoint` into a Boolean
[all …]
DREADME.md1 socks-proxy-agent
4 …s://travis-ci.org/TooTallNate/node-socks-proxy-agent.svg?branch=master)](https://travis-ci.org/Too…
19 $ npm install socks-proxy-agent
31 var SocksProxyAgent = require('socks-proxy-agent');
34 var proxy = process.env.socks_proxy || 'socks://127.0.0.1:9050';
57 var SocksProxyAgent = require('socks-proxy-agent');
60 var proxy = process.env.socks_proxy || 'socks://127.0.0.1:9050';
82 var SocksProxyAgent = require('socks-proxy-agent');
85 var proxy = process.env.socks_proxy || 'socks://127.0.0.1:9050';
/third_party/libwebsockets/lib/core-net/
Dsocks5-client.c30 lws_set_socks(struct lws_vhost *vhost, const char *socks) in lws_set_socks() argument
36 if (!socks) in lws_set_socks()
42 p_at = strrchr(socks, '@'); in lws_set_socks()
44 if (lws_ptr_diff_size_t(p_at, socks) > (sizeof(user) + in lws_set_socks()
50 p_colon = strchr(socks, ':'); in lws_set_socks()
52 if (lws_ptr_diff_size_t(p_colon, socks) > in lws_set_socks()
63 lws_strncpy(vhost->socks_user, socks, in lws_set_socks()
64 lws_ptr_diff_size_t(p_colon, socks) + 1); in lws_set_socks()
73 socks = p_at + 1; in lws_set_socks()
76 lws_strncpy(vhost->socks_proxy_address, socks, in lws_set_socks()
/third_party/node/deps/cares/src/lib/
Dares_getsock.c21 ares_socket_t *socks, in ares_getsock() argument
43 socks[sockindex] = server->udp_socket; in ares_getsock()
55 socks[sockindex] = server->tcp_socket; in ares_getsock()
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstpoll.c41 gint socks[2]; in GST_START_TEST() local
48 fail_if (_pipe (socks, 4096, _O_BINARY) < 0, "Could not create a pipe"); in GST_START_TEST()
50 fail_if (socketpair (PF_UNIX, SOCK_STREAM, 0, socks) < 0, in GST_START_TEST()
53 rfd.fd = socks[0]; in GST_START_TEST()
54 wfd.fd = socks[1]; in GST_START_TEST()
98 close (socks[0]); in GST_START_TEST()
99 close (socks[1]); in GST_START_TEST()
/third_party/node/deps/npm/node_modules/socks-proxy-agent/test/
Dtest.js11 var socks = require('socksv5'); variable
22 socksServer = socks.createServer(function(info, accept, deny) {
30 socksServer.useAuth(socks.auth.None());
/third_party/node/deps/npm/node_modules/socks/docs/examples/typescript/
DconnectExample.md1 # socks examples
9 …HTTP request to receive a response. It's worth noting that there are many socks-http-agents that c…
18 import { SocksClient, SocksClientOptions } from 'socks';
81 import { SocksClient, SocksClientOptions } from 'socks';
144 import { SocksClient, SocksClientOptions } from 'socks';
205 import { SocksClient, SocksClientOptions } from 'socks';
DbindExample.md1 # socks examples
25 import { SocksClient, SocksClientOptions } from 'socks';
/third_party/node/deps/npm/node_modules/socks/docs/examples/javascript/
DconnectExample.md1 # socks examples
9 …HTTP request to receive a response. It's worth noting that there are many socks-http-agents that c…
18 const SocksClient = require('socks').SocksClient;
80 const SocksClient = require('socks').SocksClient;
142 const SocksClient = require('socks').SocksClient;
202 const SocksClient = require('socks').SocksClient;
DbindExample.md1 # socks examples
25 const SocksClient = require('socks').SocksClient;
/third_party/node/deps/npm/node_modules/socks/docs/
DmigratingFromV1.md1 # socks chapter
21 var Socks = require('socks');
57 const SocksClient = require('socks').SocksClient;
Dindex.md3 - [API Reference](https://github.com/JoshGlazebrook/socks#api-reference)
/third_party/node/deps/npm/node_modules/socks/
DREADME.md1socks [![Build Status](https://travis-ci.org/JoshGlazebrook/socks.svg?branch=master)](https://tra…
17 * Node.js v6.0+ (Please use [v1](https://github.com/JoshGlazebrook/socks/tree/82d83923ad960693d8b7…
20 * Docs for v1 are available [here](https://github.com/JoshGlazebrook/socks/tree/82d83923ad960693d8b…
24 `yarn add socks`
28 `npm install --save socks`
34 import { SocksClient, SocksClientOptions, SocksClientChainOptions } from 'socks';
37 import { SocksClient } from 'socks';
40 const SocksClient = require('socks').SocksClient;
383 **Note:** socks includes full TypeScript definitions. These can even be used without using TypeScri…
/third_party/node/deps/npm/node_modules/socks-proxy-agent/node_modules/agent-base/
DREADME.md18 …* [`socks-proxy-agent`][socks-proxy-agent]: A SOCKS (v4a) proxy `http.Agent` implementation for HT…
144 [socks-proxy-agent]: https://github.com/TooTallNate/node-socks-proxy-agent
/third_party/node/deps/npm/node_modules/agent-base/
DREADME.md18 …* [`socks-proxy-agent`][socks-proxy-agent]: A SOCKS (v4a) proxy `http.Agent` implementation for HT…
144 [socks-proxy-agent]: https://github.com/TooTallNate/node-socks-proxy-agent
/third_party/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_ev_driver.cc379 ares_socket_t socks[ARES_GETSOCK_MAXNUM]; in grpc_ares_notify_on_event_locked() local
381 ares_getsock(ev_driver->channel, socks, ARES_GETSOCK_MAXNUM); in grpc_ares_notify_on_event_locked()
385 fd_node* fdn = pop_fd_node_locked(&ev_driver->fds, socks[i]); in grpc_ares_notify_on_event_locked()
391 socks[i], ev_driver->pollset_set, ev_driver->work_serializer); in grpc_ares_notify_on_event_locked()
/third_party/node/deps/npm/node_modules/socks/docs/examples/
Dindex.md1 # socks examples
/third_party/curl/docs/cmdline-opts/
Dsocks5-gssapi-service.d7 The default service name for a socks server is rcmd/server-fqdn. This option
/third_party/curl/lib/vtls/
Drustls.c490 cr_getsock(struct connectdata *conn, curl_socket_t *socks) in cr_getsock() argument
498 socks[0] = sockfd; in cr_getsock()
502 socks[0] = sockfd; in cr_getsock()
/third_party/curl/tests/data/
Dtest121230 noproxy setting together with socks proxy

1234