B4J Question Web server

Discussion in 'B4J Questions' started by Daestrum, May 24, 2015.

  1. Daestrum

    Daestrum Well-Known Member Licensed 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.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    You can use the Network library to open additional ports.
     
    Daestrum likes this.
  3. Daestrum

    Daestrum Well-Known Member Licensed User

    Thank you for the tip, I now have a non-ui application happily talking to a Javafx front end. :)
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice