cwWebSock.cpp : Added report().
This commit is contained in:
parent
230f3841d7
commit
488648a967
@ -783,3 +783,9 @@ cw::rc_t cw::websock::exec( handle_t h, unsigned timeOutMs )
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
void cw::websock::report( handle_t h )
|
||||
{
|
||||
websock_t* p = _handleToPtr(h);
|
||||
printf("Websock: msgs sent:%i recvd:%i que count:%i\n",p->_sendMsgCnt,p->_recvMsgCnt,count(p->_qH));
|
||||
}
|
||||
|
@ -56,6 +56,8 @@ namespace cw
|
||||
|
||||
// Call periodically from the same thread to send/recv messages.
|
||||
rc_t exec( handle_t h, unsigned timeOutMs );
|
||||
|
||||
void report( handle_t h );
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user