Skip to content

How to listen on multi ports in one main loop? Is there a per-loop callback available? #970

Answered by ghost
uniqss asked this question in Q&A
Discussion options

You must be logged in to vote

If you look at Loop.h there are addPostHandler etc. These run every new loop iteration.

One app can listen to many ports, you simply call listen many times

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@uniqss
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #970 on December 09, 2020 02:37.