Thread (9 messages) 9 messages, 2 authors, 2024-11-01

Re: getaddrinfo_a man page: add notification example?

From: Greg Minshall <hidden>
Date: 2024-08-25 10:19:09

Alejandro,

here is a shar of an extension of the current example to one that
includes the ability to receive notifications.  (note, this is just the
source, *not* embedded in the man page.)  let me know if you'd like it
packaged differently.

one design choice i made was to have the callback handlers print out a
message announcing themselves, and then call `list_requests` to show the
status.  they could not announce themselves, or not call
`list_requests`, but presumably should do at least one (otherwise, how's
the user to know anything happened?).  i've chosen to do both.

anyway, any comments or requests you'd like me to change, please let me
know.  (feel free to change whatever you or anyone else would like to
change -- you own it!)

if there are any licensing issues and you need me to sign a release, let
me know.

again, thanks for all the man pages.

cheers, Greg

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help