RE: OS X Socket Performance
RE: OS X Socket Performance
- Subject: RE: OS X Socket Performance
- From: "Pietrzak, Bryan" <email@hidden>
- Date: Mon, 9 Sep 2002 08:25:57 -0600
Have you consider OpenPlay?
OpenPlay is under Apple's open source and is available at
http://www.opendarwin.org
It can easily do peer-to-peer chat or client server based or whatever you
want. It might solve a lot of problems for you. OpenPlay currently has
targets for Mac OS Classic, Mac OS X Carbon, POSIX, Win32 and a Cocoa
framework. The community is very active and you can find its mailing list at
http://www.lists.apple.com/mailman/listinfo/openplay-development
Bryan
-----Original Message-----
From: Chris K. [
mailto:email@hidden]
Sent: Monday, September 09, 2002 3:48 AM
To: email@hidden
Subject: OS X Socket Performance
Hi,
Based on some discussion on the Cocoa dev list, there are apparently
three options for creating socket based applications on OS X: use an
objective-c wrapper around BSD sockets (like SmallSockets), create a
BSD socket in straight C, or use CFNetwork.
My question is this: which of these options offers the highest
performance? My guess is that working in straight C with BSD sockets
would be, but I have a strong desire to stick with Apple's APIs in
order to leverage any future enhancements to CFNetwork.
The project we're working on is basically a chat server with some
additional HTTP based administration functionality. I know that
Macromedia was able to produce a chat-like server for OS 9 (the
Multiuser Server) which claimed support for 2000 users (using Open
Transport, I assume) on hardware that was not nearly as fast as today's
G4s, so I would think targeting 2000 users wouldn't be impossible, but
I'm concerned about the overhead of CFNetwork and SmallSockets.
Any advice as to where I could research this (or direct experience!)
would be incredibly helpful. TIA!
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.