AppleTalk socket question
AppleTalk socket question
- Subject: AppleTalk socket question
- From: "Gunn, William" <email@hidden>
- Date: Wed, 9 Apr 2003 16:47:58 -0500
Using 10.2.4... Cocoa/Carbon app
I am trying to write a data stream to my printer connected via Appletalk. I
am new to this, so bear with me.
It all seems pretty simple, but it is not working out that way. I can use
OpenTransport calls to get the net address (netid, node, and socket), but
cannot use OT to connect to a PAP endpoint. So I am settling for using
other routines.
Can I make the call mysocket = socket(AF_APPLETALK, SOCK_STREAM, 0);
If not, what should I use.
If I am able to get the socket, my next steps are to bind it, connect it,
and then to write to it.
Any help or direction would be greatly appreciated.
Thanks,
Bo
_______________________________________________
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.