typedef nopoll_bool(* noPollForeachConn)(noPollCtx *ctx, noPollConn *conn, noPollPtr user_data)

Handler used to define the foreach function that is used by nopoll_ctx_foreach_conn.

ctxThe context where the foreach operation is taking place.
connThe connection notified
user_dataOptional user defined pointer received at nopoll_ctx_foreach_conn.
nopoll_true to stop the foreach process, otherwise nopoll_false to keep checking the next connection until all connections are notified.