Socket application program interface (API) for efficient data transactions
Abstract
Methods and systems for efficient data transactions between applications running on devices associated with the same host. According to one embodiment, a host system includes an HTTP proxy and an SSL/TLS proxy operatively coupled with each other. The SSL/TLS proxy may be configured to perform SSL negotiation with a client and the HTTP proxy may be configured to communicate with a web server in clear text. Data can be transferred directly between the proxies through a pair of connected sockets using a handle of the other proxy's socket. The handle includes a pointer to an address within a memory of a first device upon which the other proxy is running. In this manner, data stored at the address may be processed by a proxy running on a second device without copying the data to the second device and without the overhead associated with the TCP/IP protocol stack.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
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 in
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗