Re: Cocoa Client/Server App
Re: Cocoa Client/Server App
- Subject: Re: Cocoa Client/Server App
- From: Jason Stephenson <email@hidden>
- Date: Wed, 07 Jan 2009 07:38:08 -0500
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.)
Cheers,
Jason
Thanks,
Ammar
On Wed, Jan 7, 2009 at 1:58 PM, Jason Stephenson <email@hidden
<mailto:email@hidden>> wrote:
Try the following in Google:
site:developer.apple.com <http://developer.apple.com> tcp client server
The first result should be a link to the TCP Server sample application.
Your three questions are really far too general to be answered in a
mailing list. You need to find some introductory material on network
programming on UNIX and/or Mac OS X.
Ditto for threads programming.
Most of what you need could probably be found by searching the
documentation. There are guides on networking in Mac OS X with Cocoa
and Carbon.
Another possibility is to examine the rsync code. If your
application is for in-house use only, then you should have no
problem with licensing.
If this were my problem to solve, I'd probably just use rsync for
this, maybe write a gui wrapper for it using NSTask.
HtH,
Jason
_______________________________________________
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