Invention Application
US20060227795A1 Optimized method of reading data packets communicated over a network
审中-公开
通过网络读取数据包的优化方法
- Patent Title: Optimized method of reading data packets communicated over a network
- Patent Title (中): 通过网络读取数据包的优化方法
-
Application No.: US11156070Application Date: 2005-06-17
-
Publication No.: US20060227795A1Publication Date: 2006-10-12
- Inventor: Amit Bande , Krishna Mohan I.V. , Sreekumar Seshadri
- Applicant: Amit Bande , Krishna Mohan I.V. , Sreekumar Seshadri
- Priority: IN286/KOL/2005 20050407
- Main IPC: H04J3/16
- IPC: H04J3/16 ; H04J3/22 ; H04L12/56 ; H04L12/28

Abstract:
Techniques are described for reading a plurality of data packets, which can be communicated over a network, without sacrificing the efficiency of network operation, and for reading data packets communicated over a network without unnecessary memory copies. A receive buffer of a first size, which is at least twice a maximum size of data packets in the plurality of data packets, is used. A first amount of data is read into the receive buffer and the size of a last packet contained within the first amount of data is determined. The size of an unread portion of the last read packet is determined and a second amount of data, which is equal to size of an unread portion of the last read packet, is then read into the receive buffer.
Information query