We are writing an event plugin and like to receive custom messages from another (client) plugin. The same code works between different client plugins and stand-alone client, but it doesn’t work when implementing it in the event plugin.
The code does the following in order listen to messages from other plugins:
Also, could it be due to some system configuration on my system, e.g. firewalls preventing traffic. Is there something I could test to verify that system configuration is working for this use-cse?
I found out what the problem was. I ran the code to early. Apparently, communications was not yet setup when my code was run (in the Init() method). I didn’t think about that the event server is responsible for communications.
I now wait 10 seconds before setting up the listener and everything works as expected! Thanks for the help!