Handler used to define the foreach function that is used by nopoll_ctx_foreach_conn.
- Parameters
-
ctx | The context where the foreach operation is taking place. |
conn | The connection notified |
user_data | Optional user defined pointer received at nopoll_ctx_foreach_conn. |
- Returns
- nopoll_true to stop the foreach process, otherwise nopoll_false to keep checking the next connection until all connections are notified.