Exemplo n.º 1
0
Socket::Socket( NetworkManager& socketMrg, 
                NetworkThread& owner ) :
    m_manager(socketMrg),
    m_owner(owner),
    m_socket(owner.service()),
    m_OutBufferSize(protocol::SEND_BUFFER_SIZE),
    m_OutActive(false),
    m_closing(true),
    m_Address(UNKNOWN_NETWORK_ADDRESS)
{

}
Exemplo n.º 2
0
Socket::Socket(NetworkManager& manager, NetworkThread& owner) : manager_(manager), owner_(owner), socket_(owner.service()),
    outgoing_buffer_size_(protocol::SEND_BUFFER_SIZE), address_(UNKNOWN_NETWORK_ADDRESS), write_operation_(false), closed_(true)
{

}