[avahi] discover services in pidgin

evanescent coolnuwan at gmail.com
Sun Jun 14 22:58:48 PDT 2009


Hi All,

I have written a program to publish simple tcp service in avahi daeman.
Here is the relevant code fragment.

[code]
    /*Add the services for IPP */

    if((ret=avahi_entry_group_add_service(group, AVAHI_IF_UNSPEC,
AVAHI_PROTO_UNSPEC, 0, name, "_ipp._tcp", NULL, NULL, 651, "test=blah", r,
NULL )) < 0)
    {
      if(ret == AVAHI_ERR_COLLISION)
        goto collision;

      perror("Failed to add _ipp._tcp service: \n");
      goto fail;
    }

[/code]


Now I want to see this from pidgin or any chat client.
Is this possible ? If it is how can I do that?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/avahi/attachments/20090615/1ccceeba/attachment.htm 


More information about the avahi mailing list