question

Yue Y avatar image
0 Likes"
Yue Y asked Jacob Gillespie edited

Create a separate thread in FlexSim that keep accepting requests over sockets

Can I create a separate background thread in FlexSim that keep accepting requests over sockets? From this post: https://answers.flexsim.com/questions/42601/control-flex-sim-through-scripts-remotely.html I think serveraccept might be the solution. Where can I find an example of using this function? Or I would appreciate if someone could point me to a better solution.

FlexSim 19.1.0
serverweb communication
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

Jacob Gillespie avatar image
0 Likes"
Jacob Gillespie answered Jacob Gillespie edited

Here is a useful old post (which contains an example model) that tells how to use sockets.

· 1
5 |100000

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

Jacob Gillespie avatar image Jacob Gillespie ♦ commented ·

See this answer for an example of using a thread.

0 Likes 0 ·