Re: BonjourSample from Hillegass (Advanced Mac OS X Programming)
Re: BonjourSample from Hillegass (Advanced Mac OS X Programming)
- Subject: Re: BonjourSample from Hillegass (Advanced Mac OS X Programming)
- From: "Gary L. Wade" <email@hidden>
- Date: Thu, 23 Oct 2008 13:32:01 -0400
Use IPPROTO_TCP instead, which is in the Unix headers.
>>>
>
>Hello again,
>
>my first answer was too quick...
>
>If I put the 0x06 (I found it in the header file for INET_TCP) in the
>code, it works. But how can I include the header? I do not get it to
>work for a more cleaner approch...
>
>I tried
>
>#import <OpenTransportProviders.h>
>
>and
>
>#import <OT/OpenTransportProviders.h>
>
>I get: No such file or directory. Adding the CoreServices.framework or
>OSServices.framework doesn't seem to work either. What might be my
>fault?
>
>Jens
>
>>> the "INET_TCP" isn't recognized on my 10.5 system. What do I have
>>> to put
>>> there? I searched the documentation and many, many Webpages for the
>>> right
>>> header file, only finding the sentence, "it is related to the system
>>> implementation". When simply setting it to zero, the client cannot
>>> connect
>>> to the server...
>>
>> Sounds like they forgot to mention that it's declared in
>> OT/OpenTransportProviders.h ... :-) I recommend making sure Spotlight
>> indexes the /Developer folder (I don't think it does by default ...
>> mdimport /Developer will work). That way you can search for these
>> things quickly and easily.
>>
>> --
>> I.S.
>
>_______________________________________________
>
>Cocoa-dev mailing list (email@hidden)
>
>Please do not post admin requests or moderator comments to the list.
>Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
>Help/Unsubscribe/Update your Subscription:
>
>
>This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden