Finished the tcp connect part.And for debug,i disabled the ping part