A simple framework for TCP framework