Hello again everyone,

I am finishing up a new php client for sending Growl notifications
over UDP sockets. I have all of the basic features of other php
clients working but I am running into a couple issues.

1) I can't seem to get the sticky bit to do anything at all. I set it
on or off and it is always the same.
2) Even if I switch display themes to on that supports different
priorities with different colors, I always get the same notification
regardless of priority set.

What I gather from other php code I have inspected is that this is the
proper way to combine the flags into the proper byte for priority/
sticky:

        flags = (priority & 7) * 2;

        if (priority < 0) {
            flags = flags | 8;
        }

        if (sticky) {
            flags = flags | 1;
        }


Am I doing something obviously wrong or is this a limitation of the
UDP protocol? I am sending these notifications from a remote server to
my mac at home.

Also I am interested in implementing message icons, etc but I can't
find any examples on how to do this using the UDP protocol. Can
someone point me in the right direction so I can figure out how to
construct a packet properly so that it includes a message icon, etc?

Thanks,

Josh
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to