Hi all,
is there a fast and easy way to receive all messages arriving from
the network without lossing packets (simultaneous arriving messages to the same
node)?
Because if i only use
event TOS_MsgPtr ReceiveDataNC.receive(TOS_MsgPtr m){
I dont think you can.Packet loss is a problem in all networks-wired or wireless.
What you can do is reduce the rate at which the sending node injects
packets into the network. For example suppose node 1 wants to send 2
messages in succession. After sending the first message, wait for a
period of
Hi all,
is there a fast and easy way to receive all messages arriving from the
network?
Because if i only use
event TOS_MsgPtr ReceiveDataNC.receive(TOS_MsgPtr m){
Datagram *dg=(Datagram *)m-data;
[..]
.
.
[..]
return m;
}
i see in TOSSIM that some packets too close with each other (i