Implementation of TCP search algorithm & improved log statements