server basic network done.(without tests)