about sending message

9 views
Skip to first unread message

Soumi Nag

unread,
Jun 10, 2017, 3:00:50 AM6/10/17
to OMNeT++ Users
When I send message among different nodes then it happens correctly but it show a error message that send() /sendDelayed() : can not send message , it is currently in scheduled events being underway between two modules.

Michael Kirsche

unread,
Jun 11, 2017, 9:08:24 AM6/11/17
to OMNeT++ Users
You are probably trying to send the same message twice, that is not possible. If you want to send a message multiple times, you have to make copies / duplicates of said message each time you want to send it.
Use the dup() function of the message / packet in question. The simulation manual and the API reference contain more information about it.
Reply all
Reply to author
Forward
0 new messages