Patent ID: 7911994

Claim:
A method for confirming delivery of an HTTP response sent from an HTTP-based application of a proxy/server, to an HTTP-client application of a mobile communication device, via a sending TCP socket having a TCP send buffer, the method comprising: setting a threshold to be, equal to the size of the TCP send buffer of the sending TCP socket, the threshold being referred to as a low water mark and defining how much space there should be in the TCP send buffer in order for the TCP send buffer to be considered available for writing; issuing a TCP socket API command against the sending TCP socket from a confirmation delivery application of the proxy/server such that the command returns from the sending TCP socket to the confirmation delivery application when the available space in the TCP send buffer reaches the low water mark; writing data of the HTTP response to the TCP send buffer; removing data of the HTTP response from the TCP send buffer when, a TCP acknowledgment is received at the sending TCP socket from the receiving device, wherein the TCP acknowledgements acknowledges the receipt of data that was, sent from the sending TCP socket, to the receiving TCP socket; monitoring the TCP socket send buffer to detect a change in the amount of data in the TCP send buffer; detecting an event where a threshold amount of data has been removed from the TCP send buffer, the threshold amount of data corresponding to the low water mark; and upon detecting the event, returning the command, from the sending TCP socket to the confirmation delivery application of the proxy/server, the returned command, indicating that the HTTP response has been delivered to the receiving TCP socket the mobile communication, device.