MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / SocketDataWriter

Method SocketDataWriter

UDP/SocketForwarder.cpp:62–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62SocketDataWriter::SocketDataWriter(
63 std::string const &host,
64 uint16_t port,
65 unsigned int size,
66 bool tcp) :
67 host(host), port(port), tcp(tcp), size(size)
68{
69 this->pad[0] = this->pad2[0] = 0; // Shut up
70}
71
72bool
73SocketDataWriter::prepare(void)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected