• 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
Re: simple telnet-like networking in cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: simple telnet-like networking in cocoa


  • Subject: Re: simple telnet-like networking in cocoa
  • From: Michael Rothwell <email@hidden>
  • Date: Mon, 24 May 2004 21:46:11 -0400

Just use the BSD sockets API.


Michael Rothwell
email@hidden

On May 24, 2004, at 9:06 PM, Christoffer Lerno wrote:

Hi,

I'm trying to get some pointers to articles on networking in cocoa. What I'm interested is basically to shove UTF-8 encoded strings back and forth over an internet socket. Cocoa documentation is full of how to do stuff like distributed objects, but for me that's not interesting. I want to do even more basic stuff. In java I'd just open a socket and get an input and an output stream and that would be all I needed.

What do I do in cocoa? There seems to be many different ways of doing networking, like using CoreFoundation, NSConnection etc, but I don't quite grok how to do it if all you want is connection to a port and then the ability to pass and receive messages through it.

Help?

/C
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >simple telnet-like networking in cocoa (From: Christoffer Lerno <email@hidden>)

  • Prev by Date: Re: simple telnet-like networking in cocoa
  • Next by Date: Re: Copy/Paste not working from keyboard
  • Previous by thread: Re: simple telnet-like networking in cocoa
  • Next by thread: Re: simple telnet-like networking in cocoa
  • Index(es):
    • Date
    • Thread