I apologize if something similar has been discussed previously. I am trying to create a plugin which
intercepts packets, routes them somewhere else for processing and then they get routed to the receiving
XMPP server. So, there would be 2 XMPP servers (A and B) which each have their own clients, and the clients can communicate across servers and we have a black box that accepts, processes, and sends packets to and from an XMPP server. So far I have the XMPP servers up, the black box in the middle listening for the incoming packets, and have a plugin started. The plugin grabs any packets that are destined for another XMPP server
and sends it to the black box. Thhis is wher I am running into a problem. The black box does what it needs to do, is having an issue sending anything to my plugin.
Are we allowed to setup a “server” listening for stuff inside of a plugin?
I created and started the server inside the initiation method, should I be starting it somewhere else?
If you need any other information please let me know.
Thanks in advanced