The user can specify a desired port with an option allow_free_port_discovery; when activated, OpEn will bind at the next available port. This will allow the user to start multiple OpEn TCP servers without the need to explicitly specify different port. Each port will be stored in the local YAML file of the solver, so the client will know at which port to bind.
When building a TCP server to run remotely, allow_free_port_discovery should be most probably disabled.
The user can specify a desired port with an option
allow_free_port_discovery
; when activated, OpEn will bind at the next available port. This will allow the user to start multiple OpEn TCP servers without the need to explicitly specify different port. Each port will be stored in the local YAML file of the solver, so the client will know at which port to bind.When building a TCP server to run remotely,
allow_free_port_discovery
should be most probably disabled.