MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / SendDatagramTo

Method SendDatagramTo

libi2pd/Datagram.cpp:40–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 }
39
40 void DatagramDestination::SendDatagramTo(const uint8_t * payload, size_t len, const i2p::data::IdentHash & identity, uint16_t fromPort, uint16_t toPort)
41 {
42 auto session = ObtainSession(identity);
43 SendDatagram (session, payload, len, fromPort, toPort);
44 FlushSendQueue (session);
45 }
46
47 void DatagramDestination::SendRawDatagramTo(const uint8_t * payload, size_t len, const i2p::data::IdentHash & identity, uint16_t fromPort, uint16_t toPort)
48 {

Callers 4

ProcessDatagramSendMethod · 0.80
LookupAddressMethod · 0.80
HandleRequestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected