Repository navigation
|
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? |
Answered by
jebrosen
Sep 11, 2021
Replies: 3 comments 1 reply
|
Those options have a pretty wide range of solutions! Here are a few rough ideas that may help:
|
1 reply
Answer selected by
cmcqueen
|
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] ? |
0 replies
|
I'm getting close! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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…