Hi,
The customer uses Flexsim's Socket communication to create a model that works with an external simulator.
A Socket is created at the start of the simulation, but it seems to occasionally fail (the execution result of Socket creation is 0).
We are conducting a simulation under the following conditions, but could you please let us know if there are any points that we should be careful about when performing external communication like this?
conditions
・External simulators can be run on the PC running FlexSim, within a VM launched on that PC, or on an external PC (connected via wire)
・Although the PC operation is slow, there are no communication delays.
・The number of sockets created at one time is about 10.
・Restarting FlexSim after the failure fixes it.
・The frequency is about once every few dozen simulations.
The document states that there can be up to 50 sockets at the same time, but since the number of sockets at one time is small and SocketClose is performed when resetting the simulation, I don't think the limit has been reached.
Thank you for advance.