Method storing socket state information in application space for improving communication efficiency of an application program
First Claim
1. A method for improving communication efficiency of an application program in a data processing device, comprising:
- receiving first information indicative of a state of a communication socket by a device driver at the data processing device from a network device;
sending the state of the communication socket from the device driver to a program interface;
storing an indicator of the state of the communication socket in application space located in dedicated memory at the data processing device in response to receiving the first information;
accessing and determining status of the indicator by the program interface in response to requesting status of the state of the communication socket by the application program; and
managing communication by the application program based on the status of the state of the communication socket received from the interface program.
3 Assignments
0 Petitions
Accused Products
Abstract
The state of the communication socket is maintained at a network device and communicated to a device driver for the network device. The device driver can send messages to an interface program in application space, which stores the state information in dedicated application space memory. In response to a query from a peer program requesting the state of the communication socket, the interface program retrieves the state information from the dedicated memory. Because the state information and the interface program are located in application space, the number of kernel transitions required to determine the socket state is reduced, improving communication efficiency.
64 Citations
20 Claims
-
1. A method for improving communication efficiency of an application program in a data processing device, comprising:
-
receiving first information indicative of a state of a communication socket by a device driver at the data processing device from a network device; sending the state of the communication socket from the device driver to a program interface; storing an indicator of the state of the communication socket in application space located in dedicated memory at the data processing device in response to receiving the first information; accessing and determining status of the indicator by the program interface in response to requesting status of the state of the communication socket by the application program; and managing communication by the application program based on the status of the state of the communication socket received from the interface program. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method, comprising:
-
maintaining at a device driver of a data processing device first information indicative of a state of a communication socket at the data processing device; sending the state of the communication socket from the device driver to a program interface; storing an indicator of the state of the communication socket in application space located in dedicated memory at the data processing device in response to a change in the state of the communication socket; accessing and determining status of the indicator by the program interface in response to requesting status of the state of the communication socket by the application program; and managing communication by the application program based on the status of the state of the communication socket received from the interface program. - View Dependent Claims (12)
-
-
13. A non-transitory computer readable medium storing a computer program comprising instructions to manipulate a processor, the instructions comprising instructions to:
-
receive first information indicative of a state of a communication socket by a device driver at the data processing device from a network device; send the state of the communication socket from the device driver to a program interface; store an indicator of the state of the communication socket in application space located in dedicated memory at the data processing device in response to receiving the first information; access and determining status of the indicator by the program interface in response to requesting status of the state of the communication socket by the application program; and manage communication by the application program based on the status of the state of the communication socket received from the interface program. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20)
-
Specification