socket_d usage remove
my_rank variable usage remove
big refactor in comm, for future use of udp