• 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: network programming
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: network programming


  • Subject: Re: network programming
  • From: "email@hidden" <email@hidden>
  • Date: Sun, 02 Dec 2012 22:14:33 +0000

On 2 Dec 2012, at 20:46, email@hidden wrote:

>
> On 2. Dec 2012, at 20:30, Jens Alfke <email@hidden> wrote:
>
>> Doing a TCP server isn’t too hard because CFStream…
>
> looks like there is some misunderstanding here. i don't want to write a TCP server, i want to connect to one. the purpose is to send some commands to the broker and get some data back, then process it and send it on to flightgear.
>
> is there some sample code that shows how to do that? what APIs should i check out?

Whether your are writing client or server side code is pretty immaterial.
The various API just send and receive data.

https://github.com/robbiehanson/CocoaAsyncSocket/wiki/CommonPitfalls
https://github.com/robbiehanson/CocoaAsyncSocket/wiki/Intro_GCDAsyncSocket

Jonathan

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: network programming
      • From: Jens Alfke <email@hidden>
References: 
 >network programming (From: email@hidden)
 >Re: network programming (From: Jens Alfke <email@hidden>)
 >Re: network programming (From: email@hidden)

  • Prev by Date: Re: network programming
  • Next by Date: Layers in NSCollectionView
  • Previous by thread: Re: network programming
  • Next by thread: Re: network programming
  • Index(es):
    • Date
    • Thread