B4J Question WebSockets in GUI app

Swissmade

Well-Known Member
Licensed User
Longtime User
Hi all,
I wondering if it is possible to use web-sockets in a GUI app.
What I like to do is send the information from a GUI Server also to a website.
If this is working I like to strip down this GUI Server to a Non-GUI Server this way I know if it is working correct.

Also wondering how to do that if it is possible.

Thanks in advance for helping me out here.
 

DonManfred

Expert
Licensed User
Longtime User
should they demonstrate how to do without StartMessageLoop in the server project?
No. The post in #1 is about a GUI App.
My answer was about that you do not need StartMessageLoop in a gui-App.
the provided client code works in a GUI-App with no problem.

The WS Server-Part must be in a server app (non-ui). You can not include any Servercode in GUI Apps.
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
No. The post in #1 is about a GUI App.
My answer was about that you do not need StartMessageLoop in a gui-App.
the provided client code works in a GUI-App with no problem.

The WS Server-Part must be in a server app (non-ui). You can not include any Servercode in GUI Apps.


You gave us hope with this post:
1643884802076.png



The question was clearly about the server with GUI, but ok, "stone on top", case closed.
 
Upvote 0

Swissmade

Well-Known Member
Licensed User
Longtime User
Guys many thanks for your input.;);)
I have learn something and have to do this different.
 
Upvote 0
Top