-
|
I'd like to know how to listen on multiple sockets. I envisage a few scenarios:
It's the 3rd option that I'm interested in right now. How can such scenarios be set up? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
Those options have a pretty wide range of solutions! Here are a few rough ideas that may help:
|
Beta Was this translation helpful? Give feedback.
-
|
How would I run multiple Rocket servers in the same process? Do you have an example @jebrosen ? Currently I have the HTTP site working (see below). Do I just create another #[launch] ? |
Beta Was this translation helpful? Give feedback.
-
|
I'm getting close! |
Beta Was this translation helpful? Give feedback.
Those options have a pretty wide range of solutions! Here are a few rough ideas that may help:
[::]listens on both IPv4 and IPv6.launch().launch()returns aFuturethat can bespawn()ed orselect!ed with oth…