Patent ID: 7546339

Claim:
A client-server communication method wherein either a first request-response protocol or an alternative second request-response protocol is used by a client to establish a connection to a server, the first request-response protocol having a first set of start-codes for initiating the establishment of the connection and the second request-response protocol having a second set of start-codes for initiating the establishment of the connection, a common predefined port being used for the first and second request-response protocols, the client-server communication method comprising: receiving a client request by the server, the client request having one start-code of one of either the first and second sets of start-codes; and determining which of the first and second request-response protocols is to be used for responding to the client request based on the start-code of the client request and establishing a connection between the client-server; assigning a first default port to the first request-response protocol; assigning a second default port to the second request-response protocol; selecting a common port from one of the first and second ports, and a third port; indicating the common port in the client request; wherein the first request-response protocol comprises a Hyper Text Transfer Protocol(HTTP) and the second request-response protocol comprises a Hyper Text Transfer Protocol Secure(HTTPS).