On Mar 24, 7:48 pm, Peter Hosey <[email protected]> wrote:
[...]
> You can do this with our UDP protocol:
>
> http://growl.info/documentation/developer/protocol.php
>
> There are a few other programs that use it on other platforms,
> including notification systems (like Growl) for Windows and GNOME.
Thanks; that may do what I want. A couple of questions:
* are the two-byte fields (flags and the various lengths) in network
byte
order? (big-endian) If so, that means using htons(), unless I can
maybe
get an XDR description to match up with this.
* The page above mentions UDP port 9887, but says "The UDP protocol is
not
advertised because its port number is configurable by the user."
However, while the preference pane certainly _tells_ me the TCP and
UDP port
numbers, I don't see any option to configure them. Are they only
configurable
by altering the source code? Because if they are _readily_ user
configurable,
I still have the problem of how a client of the UDP protocol would
determine
what port to use.
and
* is growlnotify reliable enough that I could just posix_spawn() it,
which would
avoid all the issues with a network connection? Would growlnotify
work when
run from something not in a user session context?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Growl Discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/growldiscuss?hl=en
-~----------~----~----~----~------~----~------~--~---