¡@

Home 

c++ Programming Glossary: m_socket

Qt - Handle QTcpSocket in a new thread

http://stackoverflow.com/questions/16895989/qt-handle-qtcpsocket-in-a-new-thread

TCPConnectThread TCPConnectThread QTcpSocket _socket m_socket _socket this setAutoDelete false void TCPConnectThread run .. this setAutoDelete false void TCPConnectThread run if m_socket waitForConnected 1 qDebug Failed to connect to client else.. to connect to client else qDebug Connected to s d s d m_socket localAddress m_socket localPort m_socket peerAddress m_socket..

Where to delete QTcpSocket in thread to avoid valgrind errors

http://stackoverflow.com/questions/19280903/where-to-delete-qtcpsocket-in-thread-to-avoid-valgrind-errors

'Q' class TelnetServer public QObject Q_OBJECT QTcpSocket m_socket bool m_firstInput Q_SLOT void readyRead const QByteArray data.. m_firstInput Q_SLOT void readyRead const QByteArray data m_socket readAll if m_firstInput QTextStream out m_socket out Welcome.. data m_socket readAll if m_firstInput QTextStream out m_socket out Welcome from thread thread endl m_firstInput false for..

boost asio async_write : how to not interleaving async_write calls?

http://stackoverflow.com/questions/7754695/boost-asio-async-write-how-to-not-interleaving-async-write-calls

asio io_service io_service boost asio ssl context context m_socket io_service context m_strand io_service is_writing false ssl_socket.. is_writing false ssl_socket getSocket return m_socket boost asio strand getStrand return m_strand .. std string str m_queue.front boost asio async_write m_socket boost asio buffer str.c_str str.size boost bind structure..