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: Using DDP



From atproto.h:
"The functions ddp_open(), ddp_close(), atproto_open() and
adspproto_open() have been replaced by standard BSD socket
functions, e.g. socket(AF_APPLETALK, SOCK_RAW, [ddp type]);

See AppleTalk/nbp_send.c for an example of how these functions
are used"

and
"The rtmp_netinfo() function has been replaced by the
AIOCGETIFCFG ioctl.

See AppleTalk/nbp_send.c for an example of how this ioctl is used."

Check out the AppleTalk library for the samples.

Jessica


On 10/23/02 7:10 AM, "Stefan Heinsen" <email@hidden> wrote:

> I am trying to compile netatalk in OSX, but i getting linker-errors:
> _ddp_open, _ddp_close and _rtmp_netinfo are not defined.
> i tried to link against all frameworks, but can't find it. it should
> be in the system framework i think. can someone help me finding
> the right library?
>
> the other posibility in netatalk is to use bsd-sockets, but when
> i use
> s = socket(AF_APPLETALK, SOCK_DGRAM, 0);
> then s == -1 and errno is set to -43 (not implemented) which
> is hard to believe since its appletalk ;)
> is there something wrong with the socket-call?
>
> any help?
>
>
> thanks in advance
>
> Stefan Heinsen
> _______________________________________________
> macnetworkprog mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/macnetworkprog
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

References: 
 >Using DDP (From: Stefan Heinsen <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.