B4J Question Web server

Daestrum

Expert
Licensed User
Longtime User
Odd question I know, but can I open other ports in the server to allow for direct communication to a spawned process?
eg, server uses 51040 for websockets , so all '/pages' ==> handler for it.
open 51041 server socket and 51042 as client socket. then use those from spawned process.

Not looked into server library, so don't know if this would cause a problem.
 

Daestrum

Expert
Licensed User
Longtime User
Thank you for the tip, I now have a non-ui application happily talking to a Javafx front end. :)
 
Upvote 0
Top