Remove the first block in the packet queue Arguments: None Returns: None
| Return Type | Function name | Arguments |
|---|---|---|
| void | hzPktQue::Pull | (void) |
Declared in file: hzIpServer.h
Defined in file : hzIpServer.cpp
Function Logic:
Function body:
void hzPktQue::Pull (void)
{
// Remove the first block in the packet queue
//
// Arguments: None
// Returns: None
_hzfunc("hzPktQue::Pull") ;
hzPacket* pkt ; // Temp packet pointer
pkt = m_pStart ;
if (pkt)
{
m_nSize -= pkt->m_size ;
m_pStart = m_pStart->next ;
_tcpbufDeleteOne(pkt) ;
if (!m_pStart)
{
m_pFinal = 0;
m_nSize = 0;
}
}
}