Wireless sensor networks cannot have meaningful work without connecting with TCP/IP based network. In this paper, we analyze and compare all the existing solutions for connecting sensor networks with TCP/IP network, then based on the analysis result we present the basic design principle and key idea for connecting sensor networks with TCP/IP network. After comparing with related researches we claim that our solution can cover most of the benefits of related researches. 1