Re: Need help in Mac Networking.
Re: Need help in Mac Networking.
- Subject: Re: Need help in Mac Networking.
- From: "Andy Cave" <email@hidden>
- Date: Mon, 4 Oct 2004 10:06:04 +0100
Hi Kent.
That's news to me. I run my own app on a multiprocessor G4 and have never
had a problem in development/testing. Can you provide a reference to an
article from Apple or some such - you make a 'statement' without any
'proof'.
If this is the case, what should one use to produce something that runs on
both OS9 and OSX? [Using C++ or C.]
If what you say is really true, I would also hope that at some point
Metrowerks update their PowerPlant networking classes to use a 'better api'.
Thanks,
Andy.
----- Original Message -----
From: "Kent Sorensen" <email@hidden>
To: "Andy Cave" <email@hidden>
Cc: <email@hiddenemail@hidden>
Sent: Saturday, October 02, 2004 9:17 PM
Subject: Re: Need help in Mac Networking.
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