mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
Proxy connection and UDP associate request
This commit is contained in:
parent
08fd32b3bf
commit
f3aada9e1a
2 changed files with 148 additions and 0 deletions
|
@ -121,6 +121,12 @@ namespace transport
|
|||
void SendThroughProxy (const uint8_t * header, size_t headerLen, const uint8_t * headerX, size_t headerXLen,
|
||||
const uint8_t * payload, size_t payloadLen, const boost::asio::ip::udp::endpoint& to);
|
||||
void ProcessNextPacketFromProxy (uint8_t * buf, size_t len);
|
||||
void ConnectToProxy ();
|
||||
void HandshakeWithProxy ();
|
||||
void ReadHandshakeWithProxyReply ();
|
||||
void SendUDPAssociateRequest ();
|
||||
void ReadUDPAssociateReply ();
|
||||
void ReadUDPAssociateSocket (); // handle if closed by peer
|
||||
|
||||
private:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue