use local module in tcp client code