NNG_STREAM_LISTENER(5)
β¨ NAME β¨
nng_stream_listener β a byte stream listener, bestie π
π¦ SYNOPSIS π¦
#include <nng/nng.h>
typedef struct nng_stream_listener nng_stream_listener;
πΈ DESCRIPTION πΈ
Okay so real talk: an nng_stream_listener is a handle to a byte stream listener. What does that mean in group-chat terms? It's the thingy whose whole job is accepting incoming connections, and then creating the matching nng_stream from each one of those connections. Like, it's the door greeter at the party, and every guest who walks in gets turned into a stream. Iconic behavior, honestly. π
Note π Do not confuse this with the high-levelnng_listenerobject, okay? Thenng_stream_listenerobject is a low-level object made for raw byte stream connections. They are two completely different girlies. The way that one is high-level and one is low-levelβ¦ they are not the same and you should not treat them like they are. π
π SEE ALSO π
nng_stream_listener_accept(3str)nng_stream_listener_alloc(3str)nng_stream_listener_close(3str)nng_stream_listener_free(3str)nng_stream_listener_listen(3str)nng_stream(5)nng_stream_dialer(5)
That's the whole vibe, bestie β this was the NNG_STREAM_LISTENER(5) page from the NNG Reference Manual, dated 2026-06-30. Go forth and accept those connections, periodt. π«Άβ¨
π¦ where this page comes from
- ubuntu stonking: libnng-dev 1.12.0-1 Β· MIT OR Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms