• 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: Cocoa Client/Server App
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa Client/Server App


  • Subject: Re: Cocoa Client/Server App
  • From: "Ammar Ibrahim" <email@hidden>
  • Date: Wed, 7 Jan 2009 17:04:57 +0200

On Wed, Jan 7, 2009 at 4:59 PM, Jean-Daniel Dupas <email@hidden>wrote:

> Le 7 janv. 09 à 14:18, Ammar Ibrahim a écrit :
>
>
>  On Wed, Jan 7, 2009 at 2:38 PM, Jason Stephenson <email@hidden> wrote:
>>
>>  Ammar Ibrahim wrote:
>>>
>>>  The sample you sent is deprecated. This is code from 1992 that uses old
>>>> networking APIs. And I read a complete book about networking programming
>>>> in
>>>> C. But my goal is to do it in ObjC/Cocoa. I can't believe that there;s
>>>> no up
>>>> to date code to look at!
>>>>
>>>>
>>> There is more up to date code. I put the search in Google and saw the
>>> first
>>> was a TCPServer example, but didn't verify it was the one I'd seen
>>> before.
>>>
>>> site:developer.apple.com tcp server cocoa
>>>
>>> That will get you more relevant results, but you should be figuring these
>>> searches out on your own. One of the first rules of asking for help
>>> online
>>> is learning to help yourself. (Please don't take that personally. It is a
>>> general rule for everyone.)
>>>
>>
>>
>> I have been reading for over a month now. And I did all the homework I
>> can.
>> I read 2 Cocoa/ObjC books, 1 C book, and one Unix networking programming.
>> And I went over all guides and sample code in ADC. I did all of that
>> before
>> I asked my question, and I asked it because I couldn't find what I'm
>> looking
>> for. So thanks for the advice, but I knew that, and did it already.
>>
>
> The more cocoa'ish way to do networking is to use CoreFoundation socket (a
> high level wrapper on BSD socket), or to use a third party network library.
> You can also use the CFStream API (tool-free bridged with NSStream API).
>
> There is no (good) generic networking class in Cocoa. Usually, if two Cocoa
> app have to talk over the net, they use distributed object.



Can I transfer files between two Cocoa Apps using distributed objects?
_______________________________________________

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

References: 
 >Cocoa Client/Server App (From: "Ammar Ibrahim" <email@hidden>)
 >Re: Cocoa Client/Server App (From: Jason Stephenson <email@hidden>)
 >Re: Cocoa Client/Server App (From: "Ammar Ibrahim" <email@hidden>)
 >Re: Cocoa Client/Server App (From: Jason Stephenson <email@hidden>)
 >Re: Cocoa Client/Server App (From: "Ammar Ibrahim" <email@hidden>)
 >Re: Cocoa Client/Server App (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: Programmatically locking user screen
  • Next by Date: Re: Programmatically locking user screen
  • Previous by thread: Re: Cocoa Client/Server App
  • Next by thread: [iPhone] Search control like in App Store
  • Index(es):
    • Date
    • Thread