摘要 |
A computer implemented method for providing a full-duplex capable client device to establish a full-duplex bi-directional communication stream using a remote procedure call (RPC) based communication protocol by way of a single transmission control protocol (TCP) connection, comprising initiating, using the RPC based communication protocol, by the full-duplex capable client device, full-duplex communication over the single TCP connection between the full-duplex capable client device and a server via a network by sending an initial RPC based handshake to the server; streaming a client request stream using the RPC based communication protocol by the full-duplex capable client device to the server following an acceptance of the initial RPC based handshake by the server via the network over the single TCP connection; accepting, using the RPC based communication protocol by the full-duplex capable client device, a response stream from the server over the single TCP connection while the full-duplex capable client device streams the client request stream over the single TCP connection; and enabling, by the full-duplex capable client device, the full-duplex bi-directional communication stream using the RPC based communication protocol when the client request stream and the response stream communicate over the single TCP connection simultaneously. |