equal
deleted
inserted
replaced
191 { |
191 { |
192 Address from; |
192 Address from; |
193 Ptr<Packet> packet = socket->RecvFrom (from); |
193 Ptr<Packet> packet = socket->RecvFrom (from); |
194 packet->RemoveAllPacketTags (); |
194 packet->RemoveAllPacketTags (); |
195 packet->RemoveAllByteTags (); |
195 packet->RemoveAllByteTags (); |
196 InetSocketAddress address = InetSocketAddress::ConvertFrom (from); |
196 NS_LOG_INFO ("Source Received " << packet->GetSize () << " bytes from " << InetSocketAddress::ConvertFrom (from).GetIpv4()); |
197 NS_LOG_INFO ("Source Received " << packet->GetSize () << " bytes from " << address.GetIpv4()); |
|
198 if (socket->GetBoundNetDevice ()) |
197 if (socket->GetBoundNetDevice ()) |
199 { |
198 { |
200 NS_LOG_INFO ("Socket was bound"); |
199 NS_LOG_INFO ("Socket was bound"); |
201 } |
200 } |
202 else |
201 else |