• 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: Kent Sorensen <email@hidden>
  • Date: Sat, 2 Oct 2004 16:17:50 -0400

You should not use the PowerPlant networking classes on OS X. Especially on multiprocessor machines you will experience random crashes. That problem is well documented.

OpenTransport is dead. It exists on OS X only as a compatibility layer on top of the BSD sockets, This compatibility is good but not perfect and that is the reason for the instability of the PowerPlant classes.

Network programming on OS X either means plain socket programming as it is after all a UNIX system, or if you prefer a slightly higher abstraction you can use CFNetwork and similar API.

CFNetwork etc. has miserable documentation but socket programming is very well known. Stevens UNIX network programming book is the bible.

Kent Sorensen
http://www/snak.com

On Oct 2, 2004, at 6:32 AM, Andy Cave wrote:

Hi Frank.

Best thing I can suggest is to get Metrowerks CodeWarrior incuding PowerPlant. That includes example code on how to do what you want, which you can lift. You can build a Carbon app that runs on OS9 as well as OSX.

And I have nothing to do with Metrowerks (other than I'm a happy customer of CodeWarrior v8 - never needed to spend money on the upgrade to v9).

Andy.

Andy Cave,
Chief Executive Officer,
Hamillroad Software Limited.
www.hamillroad.com

----- Original Message ----- From: <email@hidden>
To: <email@hidden>
Sent: Saturday, October 02, 2004 7:03 AM
Subject: Need help in Mac Networking.


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.


I hope this wasn't to much to ask in this group.

Thank You So Much
Frank LaLone
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden




_______________________________________________
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


_______________________________________________ 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: "Andy Cave" <email@hidden>
    • Re: Need help in Mac Networking.
      • From: Zack Morris <email@hidden>
    • Re: Need help in Mac Networking.
      • From: Troy Dawson <email@hidden>
References: 
 >Need help in Mac Networking. (From: email@hidden)
 >Re: Need help in Mac Networking. (From: "Andy Cave" <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