question

M. Melih Y avatar image
1 Like"
M. Melih Y asked Joseph Gillespie commented

Is Flexsim Webkit supports websockets?

I am working a project that establish bi-directional communicate between FlexSim and web. Is the FlexSim webkit on GUI supports the websocket technology? Can we establish websocket structure with javascript on GUI?

FlexSim 19.0.0
webkitwebsocket
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Phil BoBo avatar image
4 Likes"
Phil BoBo answered Joseph Gillespie commented

The easiest way to find out is to try it:

Yes. FlexSim's webkit supports web sockets: web-sockets.fsm


web-sockets-work.png (126.6 KiB)
web-sockets.fsm (26.3 KiB)
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

M. Melih Y avatar image M. Melih Y commented ·

Thanks for your reply. I didn't know this test method.

1 Like 1 ·
Rocky Xu avatar image Rocky Xu commented ·

I tried to use websocket created by chorme to connect to the socket server in Flexsim, but there was a problem during the websocket's handshake, and the server could not complete the connection. Is there any solution to this problem.

-1 Like -1 ·
Joseph Gillespie avatar image Joseph Gillespie Rocky Xu commented ·

@ie F

Could you ask this as a separate question? You can always add a link referencing this question.

1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.