Home
last modified time | relevance | path

Searched refs:vSocks5 (Results 1 – 13 of 13) sorted by relevance

/dports/net-p2p/bitcoin-utils/bitcoin-22.0/src/
H A Dnetbase.cpp423 std::vector<uint8_t> vSocks5; in Socks5() local
424 vSocks5.push_back(SOCKSVersion::SOCKS5); // VER protocol version in Socks5()
425 vSocks5.push_back(SOCKS5Command::CONNECT); // CMD CONNECT in Socks5()
426 vSocks5.push_back(0x00); // RSV Reserved must be 0 in Socks5()
427 vSocks5.push_back(SOCKS5Atyp::DOMAINNAME); // ATYP DOMAINNAME in Socks5()
428 vSocks5.push_back(strDest.size()); // Length<=255 is checked at beginning of function in Socks5()
429 vSocks5.insert(vSocks5.end(), strDest.begin(), strDest.end()); in Socks5()
430 vSocks5.push_back((port >> 8) & 0xFF); in Socks5()
431 vSocks5.push_back((port >> 0) & 0xFF); in Socks5()
432 ret = sock.Send(vSocks5.data(), vSocks5.size(), MSG_NOSIGNAL); in Socks5()
[all …]
/dports/net-p2p/bitcoin/bitcoin-22.0/src/
H A Dnetbase.cpp423 std::vector<uint8_t> vSocks5; in Socks5() local
424 vSocks5.push_back(SOCKSVersion::SOCKS5); // VER protocol version in Socks5()
425 vSocks5.push_back(SOCKS5Command::CONNECT); // CMD CONNECT in Socks5()
426 vSocks5.push_back(0x00); // RSV Reserved must be 0 in Socks5()
427 vSocks5.push_back(SOCKS5Atyp::DOMAINNAME); // ATYP DOMAINNAME in Socks5()
428 vSocks5.push_back(strDest.size()); // Length<=255 is checked at beginning of function in Socks5()
429 vSocks5.insert(vSocks5.end(), strDest.begin(), strDest.end()); in Socks5()
430 vSocks5.push_back((port >> 8) & 0xFF); in Socks5()
431 vSocks5.push_back((port >> 0) & 0xFF); in Socks5()
432 ret = sock.Send(vSocks5.data(), vSocks5.size(), MSG_NOSIGNAL); in Socks5()
[all …]
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/src/
H A Dnetbase.cpp423 std::vector<uint8_t> vSocks5;
424 vSocks5.push_back(SOCKSVersion::SOCKS5); // VER protocol version
425 vSocks5.push_back(SOCKS5Command::CONNECT); // CMD CONNECT
426 vSocks5.push_back(0x00); // RSV Reserved must be 0
427 vSocks5.push_back(SOCKS5Atyp::DOMAINNAME); // ATYP DOMAINNAME
428 vSocks5.push_back(strDest.size()); // Length<=255 is checked at beginning of function
429 vSocks5.insert(vSocks5.end(), strDest.begin(), strDest.end());
430 vSocks5.push_back((port >> 8) & 0xFF);
431 vSocks5.push_back((port >> 0) & 0xFF);
432 ret = sock.Send(vSocks5.data(), vSocks5.size(), MSG_NOSIGNAL);
[all …]
/dports/net-p2p/litecoin-daemon/litecoin-0.18.1/src/
H A Dnetbase.cpp384 std::vector<uint8_t> vSocks5; in Socks5() local
385 vSocks5.push_back(SOCKSVersion::SOCKS5); // VER protocol version in Socks5()
386 vSocks5.push_back(SOCKS5Command::CONNECT); // CMD CONNECT in Socks5()
387 vSocks5.push_back(0x00); // RSV Reserved must be 0 in Socks5()
388 vSocks5.push_back(SOCKS5Atyp::DOMAINNAME); // ATYP DOMAINNAME in Socks5()
389 vSocks5.push_back(strDest.size()); // Length<=255 is checked at beginning of function in Socks5()
390 vSocks5.insert(vSocks5.end(), strDest.begin(), strDest.end()); in Socks5()
391 vSocks5.push_back((port >> 8) & 0xFF); in Socks5()
392 vSocks5.push_back((port >> 0) & 0xFF); in Socks5()
393 ret = send(hSocket, (const char*)vSocks5.data(), vSocks5.size(), MSG_NOSIGNAL); in Socks5()
[all …]
/dports/net-p2p/litecoin-utils/litecoin-0.18.1/src/
H A Dnetbase.cpp384 std::vector<uint8_t> vSocks5; in Socks5() local
385 vSocks5.push_back(SOCKSVersion::SOCKS5); // VER protocol version in Socks5()
386 vSocks5.push_back(SOCKS5Command::CONNECT); // CMD CONNECT in Socks5()
387 vSocks5.push_back(0x00); // RSV Reserved must be 0 in Socks5()
388 vSocks5.push_back(SOCKS5Atyp::DOMAINNAME); // ATYP DOMAINNAME in Socks5()
389 vSocks5.push_back(strDest.size()); // Length<=255 is checked at beginning of function in Socks5()
390 vSocks5.insert(vSocks5.end(), strDest.begin(), strDest.end()); in Socks5()
391 vSocks5.push_back((port >> 8) & 0xFF); in Socks5()
392 vSocks5.push_back((port >> 0) & 0xFF); in Socks5()
393 ret = send(hSocket, (const char*)vSocks5.data(), vSocks5.size(), MSG_NOSIGNAL); in Socks5()
[all …]
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/
H A Dnetbase.cpp498 std::vector<uint8_t> vSocks5; in Socks5() local
499 vSocks5.push_back(SOCKSVersion::SOCKS5); // VER protocol version in Socks5()
500 vSocks5.push_back(SOCKS5Command::CONNECT); // CMD CONNECT in Socks5()
501 vSocks5.push_back(0x00); // RSV Reserved must be 0 in Socks5()
502 vSocks5.push_back(SOCKS5Atyp::DOMAINNAME); // ATYP DOMAINNAME in Socks5()
503 vSocks5.push_back(strDest.size()); // Length<=255 is checked at beginning of function in Socks5()
504 vSocks5.insert(vSocks5.end(), strDest.begin(), strDest.end()); in Socks5()
505 vSocks5.push_back((port >> 8) & 0xFF); in Socks5()
506 vSocks5.push_back((port >> 0) & 0xFF); in Socks5()
507 ret = send(hSocket, (const char*)vSocks5.data(), vSocks5.size(), MSG_NOSIGNAL); in Socks5()
[all …]
/dports/net-p2p/namecoin-daemon/namecoin-core-nc0.21.0.1/src/
H A Dnetbase.cpp506 std::vector<uint8_t> vSocks5; in Socks5() local
507 vSocks5.push_back(SOCKSVersion::SOCKS5); // VER protocol version in Socks5()
508 vSocks5.push_back(SOCKS5Command::CONNECT); // CMD CONNECT in Socks5()
509 vSocks5.push_back(0x00); // RSV Reserved must be 0 in Socks5()
510 vSocks5.push_back(SOCKS5Atyp::DOMAINNAME); // ATYP DOMAINNAME in Socks5()
511 vSocks5.push_back(strDest.size()); // Length<=255 is checked at beginning of function in Socks5()
512 vSocks5.insert(vSocks5.end(), strDest.begin(), strDest.end()); in Socks5()
513 vSocks5.push_back((port >> 8) & 0xFF); in Socks5()
514 vSocks5.push_back((port >> 0) & 0xFF); in Socks5()
515 ret = send(hSocket, (const char*)vSocks5.data(), vSocks5.size(), MSG_NOSIGNAL); in Socks5()
[all …]
/dports/net-p2p/namecoin/namecoin-core-nc0.21.0.1/src/
H A Dnetbase.cpp506 std::vector<uint8_t> vSocks5; in Socks5() local
507 vSocks5.push_back(SOCKSVersion::SOCKS5); // VER protocol version in Socks5()
508 vSocks5.push_back(SOCKS5Command::CONNECT); // CMD CONNECT in Socks5()
509 vSocks5.push_back(0x00); // RSV Reserved must be 0 in Socks5()
510 vSocks5.push_back(SOCKS5Atyp::DOMAINNAME); // ATYP DOMAINNAME in Socks5()
511 vSocks5.push_back(strDest.size()); // Length<=255 is checked at beginning of function in Socks5()
512 vSocks5.insert(vSocks5.end(), strDest.begin(), strDest.end()); in Socks5()
513 vSocks5.push_back((port >> 8) & 0xFF); in Socks5()
514 vSocks5.push_back((port >> 0) & 0xFF); in Socks5()
515 ret = send(hSocket, (const char*)vSocks5.data(), vSocks5.size(), MSG_NOSIGNAL); in Socks5()
[all …]
/dports/net-p2p/namecoin-utils/namecoin-core-nc0.21.0.1/src/
H A Dnetbase.cpp506 std::vector<uint8_t> vSocks5; in Socks5() local
507 vSocks5.push_back(SOCKSVersion::SOCKS5); // VER protocol version in Socks5()
508 vSocks5.push_back(SOCKS5Command::CONNECT); // CMD CONNECT in Socks5()
509 vSocks5.push_back(0x00); // RSV Reserved must be 0 in Socks5()
510 vSocks5.push_back(SOCKS5Atyp::DOMAINNAME); // ATYP DOMAINNAME in Socks5()
511 vSocks5.push_back(strDest.size()); // Length<=255 is checked at beginning of function in Socks5()
512 vSocks5.insert(vSocks5.end(), strDest.begin(), strDest.end()); in Socks5()
513 vSocks5.push_back((port >> 8) & 0xFF); in Socks5()
514 vSocks5.push_back((port >> 0) & 0xFF); in Socks5()
515 ret = send(hSocket, (const char*)vSocks5.data(), vSocks5.size(), MSG_NOSIGNAL); in Socks5()
[all …]
/dports/net-p2p/litecoin/litecoin-0.18.1/src/
H A Dnetbase.cpp384 std::vector<uint8_t> vSocks5; in Socks5() local
385 vSocks5.push_back(SOCKSVersion::SOCKS5); // VER protocol version in Socks5()
386 vSocks5.push_back(SOCKS5Command::CONNECT); // CMD CONNECT in Socks5()
387 vSocks5.push_back(0x00); // RSV Reserved must be 0 in Socks5()
388 vSocks5.push_back(SOCKS5Atyp::DOMAINNAME); // ATYP DOMAINNAME in Socks5()
389 vSocks5.push_back(strDest.size()); // Length<=255 is checked at beginning of function in Socks5()
390 vSocks5.insert(vSocks5.end(), strDest.begin(), strDest.end()); in Socks5()
391 vSocks5.push_back((port >> 8) & 0xFF); in Socks5()
392 vSocks5.push_back((port >> 0) & 0xFF); in Socks5()
393 ret = send(hSocket, (const char*)vSocks5.data(), vSocks5.size(), MSG_NOSIGNAL); in Socks5()
[all …]
/dports/net-p2p/zetacoin/zetacoin-0.13.2.1/src/
H A Dnetbase.cpp328 std::vector<uint8_t> vSocks5; in Socks5() local
329 vSocks5.push_back(0x05); // VER protocol version in Socks5()
330 vSocks5.push_back(0x01); // CMD CONNECT in Socks5()
331 vSocks5.push_back(0x00); // RSV Reserved in Socks5()
332 vSocks5.push_back(0x03); // ATYP DOMAINNAME in Socks5()
333 vSocks5.push_back(strDest.size()); // Length<=255 is checked at beginning of function in Socks5()
334 vSocks5.insert(vSocks5.end(), strDest.begin(), strDest.end()); in Socks5()
335 vSocks5.push_back((port >> 8) & 0xFF); in Socks5()
336 vSocks5.push_back((port >> 0) & 0xFF); in Socks5()
337 ret = send(hSocket, (const char*)begin_ptr(vSocks5), vSocks5.size(), MSG_NOSIGNAL); in Socks5()
[all …]
/dports/net-p2p/zetacoin-utils/zetacoin-0.13.2.1/src/
H A Dnetbase.cpp328 std::vector<uint8_t> vSocks5; in Socks5() local
329 vSocks5.push_back(0x05); // VER protocol version in Socks5()
330 vSocks5.push_back(0x01); // CMD CONNECT in Socks5()
331 vSocks5.push_back(0x00); // RSV Reserved in Socks5()
332 vSocks5.push_back(0x03); // ATYP DOMAINNAME in Socks5()
333 vSocks5.push_back(strDest.size()); // Length<=255 is checked at beginning of function in Socks5()
334 vSocks5.insert(vSocks5.end(), strDest.begin(), strDest.end()); in Socks5()
335 vSocks5.push_back((port >> 8) & 0xFF); in Socks5()
336 vSocks5.push_back((port >> 0) & 0xFF); in Socks5()
337 ret = send(hSocket, (const char*)begin_ptr(vSocks5), vSocks5.size(), MSG_NOSIGNAL); in Socks5()
[all …]
/dports/net-p2p/zetacoin-daemon/zetacoin-0.13.2.1/src/
H A Dnetbase.cpp328 std::vector<uint8_t> vSocks5; in Socks5() local
329 vSocks5.push_back(0x05); // VER protocol version in Socks5()
330 vSocks5.push_back(0x01); // CMD CONNECT in Socks5()
331 vSocks5.push_back(0x00); // RSV Reserved in Socks5()
332 vSocks5.push_back(0x03); // ATYP DOMAINNAME in Socks5()
333 vSocks5.push_back(strDest.size()); // Length<=255 is checked at beginning of function in Socks5()
334 vSocks5.insert(vSocks5.end(), strDest.begin(), strDest.end()); in Socks5()
335 vSocks5.push_back((port >> 8) & 0xFF); in Socks5()
336 vSocks5.push_back((port >> 0) & 0xFF); in Socks5()
337 ret = send(hSocket, (const char*)begin_ptr(vSocks5), vSocks5.size(), MSG_NOSIGNAL); in Socks5()
[all …]