First commit, with existing code.
modify netconn: basic functions completed