Adds SetAllowBroadcast(true) to wifi-simple-adhoc.cc

This commit is contained in:
Gilaras Drakeson
2010-07-19 22:37:44 +05:30
parent 3c18f0ac91
commit e6b2ad62e3

View File

@@ -179,6 +179,7 @@ int main (int argc, char *argv[])
Ptr<Socket> source = Socket::CreateSocket (c.Get (1), tid);
InetSocketAddress remote = InetSocketAddress (Ipv4Address ("255.255.255.255"), 80);
source->SetAllowBroadcast (true);
source->Connect (remote);
// Tracing