Patent ID: 7272834

Claim:
A computer-implemented method for providing asynchronous network communications between a client and a server, comprising: configuring a socket for an application on the server; in response to a request from the client, issuing a single, continuous mode operation to the socket, wherein the single, continuous mode operation including: a single asynchronous accept operation, configuring a listening socket to process a plurality of incoming client connections, wherein issuing the single asynchronous accept operation comprises: placing a single pending accept data structure on a pending queue, and for each of the plurality of incoming client connections, copying contents of the single pending accept data structure to a completed accept data structure queued on a accept completion queue, wherein the single pending accept data structure remains on the pending queue after the contents are copied; and a single asynchronous receive operation, configuring a client socket to process a plurality of client requests, wherein issuing the single asynchronous receive operation comprises: placing a single pending receive data structure on a pending queue, and for each completed client request, copying contents of the pending receive data structure to a completed receive data structure queued on a receive completion queue.