When to use send, sendDirect and sendDelayed in OMNet++?

Viewed 1632

I am building my own compound module in omnet++ having multiple simple modules in it and having a layered architecture. But using only send() in inter-module communication (like the my App generator sends packet to below buffer using send()) seems to increase the total network latency.

Also, I have seen other well supported models like the inet, mixim etc. uses sendDirect and send and sendDelayed alternatively.

So, my question is, when to use send(), sendDirect() and sendDelayed() ? And do they have any latency differences ?

1 Answers
Related