发明名称 METHOD AND APPARATUS FOR READING DATA FROM A PROTOCOL STACK OF TRANSMISSION CONTROL PROTOCOL/INTERNET PROTOCOL
摘要 <p>A method and apparatus for reading data from a protocol stack of transmission control protocol/internet protocol (TCP/IP) are provided. The method includes: obtaining an identifier which designates to read a plurality of User Datagram Protocol (UDP) data packets from the protocol stack of TCP/IP; obtaining the length which designates the total length of the UDP data packets to be read; obtaining data, namely, reading a corresponding number of UDP data packets from the protocol stack according to the designated total length of the UDP data packets; and copying the corresponding number of UDP data packets to a user state. A plurality of UDP data packets are designated to be read by the identifier, the number of UDP data packets to be read can be designated by the length, so that a plurality of UDP data packets can be read at one time; the number of system invoking is decreased and the occupation time of system invoking is reduced while reading the same amount of UDP data packets, consequently the input and output capability of the network is improved.</p>
申请公布号 WO2010078802(A1) 申请公布日期 2010.07.15
申请号 WO2009CN75877 申请日期 2009.12.24
申请人 SHENZHEN COSHIP ELECTRONICS CO., LTD.;LIU, FAN 发明人 LIU, FAN
分类号 H04L29/08 主分类号 H04L29/08
代理机构 代理人
主权项
地址