A method in a computer network for automatically detecting a most
advantageous protocol for communication by a client computer, said client
computer being configured to be coupled to a server computer via a
computer network. The method includes initiating a plurality of protocol
threads for sending from the client computer to the server computer, a
plurality of data requests. Each of the data requests employs a different
protocol and a different connection. The data requests are configured to
solicit, responsive to the data request, a set of responses from the
server computer. Each of the responses employs a protocol associated with
a respective one of the data requests. The method further includes
receiving at the client computer at least a subset of the responses. The
method also includes initiating a control thread at the client computer.
The control thread monitors the subset of the responses as each response
is received from the server computer to select the most advantageous
protocol from protocols associated with the subset of the responses,
wherein the most advantageous protocol is determined based on a
predefined protocol priority.