The present invention is generally directed towards a remote access
architecture for providing peer-to-peer communications and remote access
connectivity. In one embodiment, the remote access architecture of the
present provides a method for establishing a direct connection between
peer computing devices via a third computing device, such as a gateway.
Additionally, the present invention provides the following techniques to
optimize peer-to-peer communications: 1) false acknowledgement of receipt
of network packets allowing communications via a lossless protocol of
packets constructed for transmission via a lossy protocol, 2) payload
shifting of network packets allowing communications via a lossless
protocol of packets constructed for transmission via a lossy protocol, 3)
reduction of packet fragmentation by adjusting the maximum transmission
unit (MTU) parameter, accounting for overhead due to encryption, 4)
application-aware prioritization of client-side network communications,
and 5) network disruption shielding for reliable and persistent network
connectivity and access.