Patent ID: 7843952

Claim:
A transport method comprising: reading a data packet from a network into a buffer in an async socket module, the async socket module serving as a network communications module; passing the buffer to a HTTP module; enabling the HTTP module to read and parse the data in the buffer without copying the buffer, wherein the HTTP module reads data until at least an entire header of the data packet is read; determining whether the entire data packet has been read; and if the entire data packet has not been read and a length for a data portion of the data packet is known, then enabling the HTTP module to allocate a buffer size for the buffer to accommodate the data portion of the data packet and send the buffer back to the async socket module to read and write the data portion of the data packet to the buffer once, wherein the HTTP module comprises one of an HTTP client module for initiating outbound communications or an HTTP server module for handling inbound communications, and wherein the async socket module, the HTTP client module and the HTTP server module are threaded together, each module using asynchronous communications to communicate on a single thread of execution.