send datagram through destination's thread

This commit is contained in:
orignal 2014-10-27 16:01:22 -04:00
parent f2434d66fc
commit 35d4692f5f
2 changed files with 34 additions and 21 deletions

View file

@ -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;
};
}
}