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 <ja...@sigio.com <mailto:ja...@sigio.com>> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to