MCPcopy Create free account
hub / github.com/aria2/aria2 / sendMessage

Method sendMessage

src/DHTConnectionImpl.cc:105–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105ssize_t DHTConnectionImpl::sendMessage(const unsigned char* data, size_t len,
106 const std::string& host, uint16_t port)
107{
108 return socket_->writeData(data, len, host, port);
109}
110
111} // namespace aria2

Callers 5

testWriteAndReadDataMethod · 0.45
testSendMessageMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45
sendMethod · 0.45

Calls 1

writeDataMethod · 0.45

Tested by 2

testWriteAndReadDataMethod · 0.36
testSendMessageMethod · 0.36