A method and system for managing the transfer of data in parallel through multiple
sockets. The present invention facilitates the use of multiple sockets and avoid
monopolization of a socket by releasing the socket as soon as data from a client
request has been sent to a server application. The present invention also includes
a novel socket assignment technique that assigns only available sockets. This novel
socket assignment technique avoids bottlenecking and delays due to socket contention
and increases efficiency. The socket assignment technique of the present invention
can assign sockets using a round robin technique, which assigns a server application
to a first available socket, a random technique, which assigns a server application
randomly to an available socket, or a user-defined technique, which assigns a thread
to an available socket as determined by a user.