communication network using basic sockets done.TODO use nsd