The avoidance of port collisions in a hardware-accelerated network
protocol, such as Transmission Control Protocol (TCP)/Internet Protocol
(IP), is disclosed. In one example, a hardware-accelerated host bus
adaptor (HBA) offloads protocol processing from a host computer's
operating system. However, a port collision occurs if a non-accelerated
host TCP/IP stack and a hardware accelerated host bus adapter TCP/IP
stack choose the same port for establishing a network connection. In a
double-ended TCP/IP acceleration connection, a unique TCP port is bound
to the accelerated TCP/IP stack. In a single-ended TCP/IP acceleration
connection, either the host TCP/IP stack is prevented from using that
port or a non-accelerated connection is associated with an accelerated
connection without binding a port.