Network-Emulation/src/dvnode.cc
void __broadcast(int fd, const std::vector<struct sockaddr_in>& neighbors,
    std::string msg) {
  for (auto neighbor : neighbors) {
    udpsend(fd, neighbor, msg);
  }
}
// Sends out message to all neighbors
Sends out message to all neighbors
Sends out message to all neighbors
void __broadcast(int fd, const std::vector<struct sockaddr_in>& neighbors,
    std::string msg) {
  for (auto neighbor : neighbors) {
    udpsend(fd, neighbor, msg);
  }
}
void __broadcast ( int fd , const std :: vector < struct sockaddr_in > & neighbors , std :: string msg ) { for ( auto neighbor : neighbors ) { udpsend ( fd , neighbor , msg ) ; } }
Sends out message to all neighbors
Sends out message to all neighbors