Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about retrieving port numbers



--- James Housley <email@hidden> wrote:
> Michael Bishop wrote:
> > Eric,
> > 
> > Thanks for your thoughts. I hadn't thought to use
> the  
> > DNSServiceDiscovery APIs because I thought they
> were for the Mac-Only.
> > 
> > I've changed my Posix stuff into
> DNSServiceDiscovery APIs and it works  
> > but it won't compile on BSD because it looks for
> the header "stdint.h".  
> > I looked and this seems to be a Mac OS X-only
> header.
> 
> stdint.h does exist on FBSD 5.x, I just commented it
> out for compiling on 4.x
> 
> Jim

You might want to grab the latest CVS version of
Rendezvous. It looks like they already #ifdef'd the
header to handle FreeBSD 4.x vs 5.x, and Sun, and
Windows. Hopefully, it should just work without adding
your own #ifdef's.

According to my Linux stdint.h header, there may be
overlaps between it and sys/types.h, which is probably
why stdint.h can be commented out in some cases.

-Eric
_______________________________________________
rendezvous mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/rendezvous
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: Question about retrieving port numbers (From: James Housley <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.