Websockets in mendix

I'm trying some different push options for mendix and got something working using the pusher platform. However, as the functions that I require push for are rather small I was wondering f there are some alternatives. It would be nice if I could keep it completely inside my app using websockets. Has anyone been able to implement websockets in Mendix and would they be willing to share on how they achieved that?
1 answers

I once made a poc but that uses an extra port (e.g. 8095) that can not be openened in the Mendix cloud. Locally it worked fine.


BTW Mendix uses Websockets internally.


EDIT 1: the code is somewhere on a backup. I will share when found.