How to share netwrok stack with other socket needy applications #3468
-
|
We are trying to host a modbus TCP server along side web server. In current implementation both these servers run independently but once I make a http connection everything stops working. This may be because of both servers stepping on each other. Our Modbus TCP server uses "select" to listen on multiple sockets. Is there a way to run both these servers together without causing instabilities? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
There is no such interactions in Mongoose, we know what we do and our code "does not step on each other"; whatever is going on is your coding. You can have as many different services of as many different applications as you want, along with as many clients as you want, as long as you have enough memory to handle that and you follow the rules.
|
Beta Was this translation helpful? Give feedback.
There is no such interactions in Mongoose, we know what we do and our code "does not step on each other"; whatever is going on is your coding. You can have as many different services of as many different applications as you want, along with as many clients as you want, as long as you have enough memory to handle that and you follow the rules.
I don't know what you mean, because I can't guess your design architecture. I hope you have read the docs and done things properly
Please see our documentation, and follow the guidelines in our tutorials.
Please read https://mongoose.ws/documentation/#best-practices
From the docs