Patent attributes
An apparatus for searching a socket ID of a received packet in a transmission control protocol (TCP) and a user datagram protocol (UDP) is provided. The apparatus includes: a master module, a branch table module and a tree table module. The master module analyzes command information from a processor, transfers commands to the branch table module and to the tree table module, receives results from the branch table module and from the tree table module, and reports the received results to the processor. The branch table module receives commands from the master module and manages a branch table by using only the lower 10 bits of a simple internet protocol (IP) address of the commands. The tree table module is coupled to the master module and to the branch table module, in which the tree table module manages a binary tree.