apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject apr_portable.h and const struct sockaddr * - getting bonjour to work
Date Tue, 01 Mar 2011 23:27:47 GMT
Hi all,

I am currently struggling to get DNSServiceGetAddrInfo() from zeroconf  
to work nicely with apr_portable.h, and need to clarify whether I am  
missing anything.

DNSServiceGetAddrInfo() returns the DNS lookup in a structure "struct  
sockaddr *" which I need to convert into an "apr_sockaddr_t *", but I  
am struggling to find the corresponding function to do it. Is this an  
oversight in apr or have I missed something?

Regards,
Graham
--


Mime
View raw message