remove some data struct
modified some code about net's connect