mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
send datagram through destination's thread
This commit is contained in:
parent
f2434d66fc
commit
35d4692f5f
2 changed files with 34 additions and 21 deletions
|
@ -27,13 +27,11 @@ namespace datagram
|
|||
private:
|
||||
|
||||
I2NPMessage * CreateDataMessage (const uint8_t * payload, size_t len);
|
||||
void SendMsg (I2NPMessage * msg, const i2p::data::LeaseSet& remote);
|
||||
|
||||
private:
|
||||
|
||||
i2p::client::ClientDestination& m_Owner;
|
||||
uint8_t m_OutgoingBuffer[MAX_DATAGRAM_SIZE];
|
||||
uint8_t * m_Signature, * m_Payload;
|
||||
size_t m_HeaderLen;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue