complete TCP Socket and test!!!