• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
AppleTalk socket question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: AppleTalk socket question
      • From: Rich Kubota <email@hidden>
  • Prev by Date: Re: Is it thread safe ?
  • Next by Date: Creating multiple OT Contexts
  • Previous by thread: Re: OT: inter-application communication and internet protocols
  • Next by thread: Re: AppleTalk socket question
  • Index(es):
    • Date
    • Thread