• 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: Need help in Mac Networking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help in Mac Networking


  • Subject: Re: Need help in Mac Networking
  • From: Frederick Cheung <email@hidden>
  • Date: Sat, 2 Oct 2004 21:38:12 +0100


On 2 Oct 2004, at 20:05, email@hidden wrote:

Date: Sat, 02 Oct 2004 06:03:18 +0000
From: email@hidden
Subject: Need help in Mac Networking.
To: email@hidden
Message-ID:
<100220040603.26227.415E44A600014B160000667322007340760A0201040E0400@co mcast.net>


I am FINALLY back to Mac Programming, I have not programmed a Mac since system 8.5

Can someone Please help me on what the latest protocal is being used for tcp/ip networking? Last time I wrote this type of code for the Mac, Open Transport was the standard.

Is Open Transport used for Mac X programming?

if so, does anyone have just a simple client and server code of a small examples of a client connecting to a server and sending data between the two on Mac X carbon using C ?

If not, what is the Standard for TCP/IP networking? and would anyone have just a simple connecting that is made between a client and server programs that sends data back and fourth?


And please can anyone tell me where I can get references to the standard above? I am in a wheel chair and do most of my work in bed, it is hard for me to use html source as information, It is much easier for me to have a pdf to print, or a book.


Open transport is a deprecated API, although it is still supported. BSD sockets is the native way for tcp/ip on Mac OS X. There are various layers put on top of this, which abstract varying amounts of the socket stuff away and in some cases the protocols on top of that (eg FTP/HTTP) for example CFSocket, CFStream or CFNetwork. You might want to check out the headers for these, and also apple's networking code samples (http://developer.apple.com/samplecode/Networking/index.html)


Fred

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Need help in Mac Networking
      • From: Troy Dawson <email@hidden>
  • Prev by Date: Re: Need help in Mac Networking.
  • Next by Date: Re: Need help in Mac Networking.
  • Previous by thread: Re: Need help in Mac Networking.
  • Next by thread: Re: Need help in Mac Networking
  • Index(es):
    • Date
    • Thread