VC++ 封装了队列类 /// /// /// ///// //this a example for using Queue ///////////////////////////////////////// #include "Queue.h" //define queue data struct struct QueueData { char data[20] int nId } //define queue typedef TQueue TMyQueue //put data into queue { QueueData data memset(&data, 0, sizeof(data)) strcpy(data.data, "hello!") data.nId = 0 m_pMyQueue.TryPut(data) } //try put data into queue { QueueData data memset(&data, 0, sizeof(data)) strcpy(data.data, "hello!") data.nId = 0 if(m_pMyQueue.TryPut(data) != 0) { MessageBox("put queue error") } else { MessageBox("put queue success") } } //get data from queue { QueueData data memset(&data, 0, sizeof(data)) m_pMyQueue.Get(data) MessageBox(data.data) } //try get data from queue { QueueData data memset(&data, 0, sizeof(data)) m_pMyQueue.TryGet(data) MessageBox(data.data) }-cohort of VC Packaging category /////////////////////////////////////////// this is a example for using Queue ///////
SIP. Understanding the Session Initiation Protocol Second Edition.rar全面介绍SIP RFC3261-SIP. Understanding the Second Session Initiation Protocol Edition.rar introduced SIP RFC3261
upnp得技术文档
是对upnp的介绍,UPnP即Universal Plug and Play通用即插即用简称UPNP。UPnP使用标准的TCP/IP和网络协议,使它能够无缝的融入现有网络。是intel、力推的
-UPnP in technical documentation for the UPnP, UPnP is Universal Plug and Play UPnP referred UPNP. UPnP using standard TCP/IP network protocol and enable it to seamlessly integrate into existing networks. Intel is, pushing the