MCPcopy Create free account
hub / github.com/bcndev/bytecoin / Impl

Method Impl

src/platform/Network.cpp:621–634  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

619class TCPSocket::Impl {
620public:
621 explicit Impl(TCPSocket *owner)
622 : owner(owner)
623 , connected(false)
624 , asked_shutdown(false)
625 , pending_read(false)
626 , pending_write(false)
627 , pending_connect(false)
628 , socket(EventLoop::current()->io())
629 , incoming_buffer(8192)
630 , outgoing_buffer(8192) {
631 // std::cout << std::hex << "TCPSocket::Impl this=" << (size_t)this << " owner=" << (size_t)owner <<
632 // std::dec
633 //<< std::endl;
634 }
635 ~Impl() {
636 // std::cout << std::hex << "TCPSocket::~Impl this=" << (size_t)this << " owner=" << (size_t)owner <<
637 // std::dec << std::endl;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected