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 (Cocoa-dev@lists.apple.com)
>
>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:
>http://lists.apple.com/mailman/options/cocoa-dev/garywade%40desisoftsystems.com
>
>
>This email sent to [EMAIL PROTECTED]
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to