当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: Rawether Does NOT Allo
 

 

 ·eclipse 3.0资料收集    »显示摘要«
    摘要:http://www.tusc.com.au/tutorial/html/index.html利用eclipse,lomboz plugins,jboss开发j2ee教学的文章(en)很精彩 1.? lomboz.301.zip 与emf-sdo-runtime-2.0.0.zip(著名的开发j2ee的插件) 下载网址:http://forge.objectweb.org/projec......
 ·读写sql+ado的datetime    »显示摘要«
    摘要:coledatetime oledate = coledatetime::getcurrenttime();_variant_t vtfld;vtfld.vt = vt_date;vtfld.date = oledate;precordset4->putcollect("date", vtfld); 读时间值_bstr_t thevalue=m_pset->fi......


Rawether Does NOT Allow Multiple Applications To Receive The Same Packet
上一页   ...

the supporting ndis protocol driver uses a per-open context structure in kernel mode to maintain separate information for each user mode handle returned by the rawether w32n_openadapter function. this means that a different bpf can be specified on each user mode adapter handle. the ndis protocol driver keeps per-open information in a list.

the ndis protocol driver walks the per-open context list and indicates the received packet on the first user mode handle whose bpf accepts the packet. 【程序编程相关:Ant应用(2)

when a packet is received the driver´s behavior is simple: 【推荐阅读:Ant应用(1)

  【扩展信息:Ant应用(3)

the driver does not attempt to look further into the per-open context list once the first bpf match is found and satisfied.

discussion

the memory and processor resources required to "lift" received packets from the kernel mode ndis protocol driver to the user mode win32 application are substantial.

in pcausa´s opinion, a design that would support "lifting" the same packet to more than one application would almost certainly degrade the performance of all applications using the rawether api and probably degrade the overall performance of the host workstation.


...   下一页
 ·剪切板上文本数据的传送    »显示摘要«
    摘要:把文本放置到剪接板上:cstring source; //put your text in sourceif(openclipboard()){ hglobal clipbuffer; char * buffer; emptyclipboard(); clipbuffer = globalalloc(gmem_ddeshare, source.getlength()+1); buffer = (c......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE