NNG_STREAM_LISTENER(5)

πŸ“¦
version 1.12.0 Β· 4 versions
, in ubuntu stonking

✨ 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-level nng_listener object, okay? The nng_stream_listener object 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 🌈


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