Patent ID: 9680918
Date: 2017-06-13
CPC Classifications: G06F,H04L

Claim:
1. A method of exchanging data between a first device and a second device residing within a single host, the method comprising: creating a first endpoint of communication between a first application running on the first device and a second application running on the second device by instantiating a first socket by invoking by the first application a create socket method of a first socket application programming interface (API) implemented on the first device; creating a second endpoint of communication between the first application and the second application by instantiating a second socket by invoking by the second application a create socket method of a second socket API implemented on the second device; binding the first socket and the second socket, by invoking by the first application a connect method of the first socket API and by invoking by the second application a listen method of the second socket API; obtaining a handle of the second socket by the first application by invoking by the first application a get peer socket handle method of the first socket API, wherein the handle includes at least one pointer having a value indicative of an address within a memory of the second device; and processing, by the first application, data stored at the address without copying the data to the first device.