Bug 2195 - Udp[*]Client can't send packets to broadcast address
This commit is contained in:
@@ -29,6 +29,7 @@ Bugs fixed
|
||||
- Bug 1954 - Serialized size of wifi-net-device differ for TX and RX trace
|
||||
- Bug 2003 - Missing DSSS short PLCP preamble
|
||||
- Bug 2183 - LiIonEnergySourceHelper is not in the energy wscript
|
||||
- Bug 2195 - Udp[*]Client can't send packets to broadcast address
|
||||
|
||||
Known issues
|
||||
------------
|
||||
|
||||
@@ -139,6 +139,7 @@ UdpClient::StartApplication (void)
|
||||
}
|
||||
|
||||
m_socket->SetRecvCallback (MakeNullCallback<void, Ptr<Socket> > ());
|
||||
m_socket->SetAllowBroadcast (true);
|
||||
m_sendEvent = Simulator::Schedule (Seconds (0.0), &UdpClient::Send, this);
|
||||
}
|
||||
|
||||
|
||||
@@ -147,7 +147,7 @@ UdpEchoClient::StartApplication (void)
|
||||
}
|
||||
|
||||
m_socket->SetRecvCallback (MakeCallback (&UdpEchoClient::HandleRead, this));
|
||||
|
||||
m_socket->SetAllowBroadcast (true);
|
||||
ScheduleTransmit (Seconds (0.));
|
||||
}
|
||||
|
||||
|
||||
@@ -262,6 +262,7 @@ UdpTraceClient::StartApplication (void)
|
||||
}
|
||||
}
|
||||
m_socket->SetRecvCallback (MakeNullCallback<void, Ptr<Socket> > ());
|
||||
m_socket->SetAllowBroadcast (true);
|
||||
m_sendEvent = Simulator::Schedule (Seconds (0.0), &UdpTraceClient::Send, this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user