MCPcopy Create free account
hub / github.com/ElementsProject/elements / Send

Method Send

src/util/sock.cpp:62–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60void Sock::Reset() { CloseSocket(m_socket); }
61
62ssize_t Sock::Send(const void* data, size_t len, int flags) const
63{
64 return send(m_socket, static_cast<const char*>(data), len, flags);
65}
66
67ssize_t Sock::Recv(void* buf, size_t len, int flags) const
68{

Callers 2

Socks5Function · 0.45
SocketSendDataMethod · 0.45

Calls 1

sendFunction · 0.85

Tested by

no test coverage detected