I've considered it, but this is for use in a commercial app. It could be installed literally anywhere, and I really don't want to rely on any network being available - it introduces too many unknowns. Otherwise, it'd be the best way by far I think.

All OS X machines will have a loopback network device (so ping 127.0.0.1 will always work) -- if you encounter a machine without that, I'd be _Really_ impressed (every unix machine I've ever had (for me, the earliest is a 486, I'm sure many people here go much farther back) has had a loopback, even with no physical network interface device).

According to this site -- http://forums.osxfaq.com/viewtopic.php? t=3846 -- loopback goes all the way back to 10.1.5/10.2, and I'm almost positive it goes all the way to 10.0. So your concern probably isn't too much of a real problem in practice. You'll be more likely to find a platform that doesn't support QC than you will a platform that can't do any networking (iPhone comes to mind ;)

Just did a quick test, I made a broadcaster/receiver pair, unplugged ethernet, and turned off airport. continues to run as expected. This isn't much of a test, of course, but it at least means that the packet routing doesn't depend on an interface that's up. I don't have any macs without built-in network devices, so I can't do a complete test.

To see if a machine has a loopback device, open a terminal, and run "ifconfig lo0". If you see this:

[EMAIL PROTECTED]:~>ifconfig lo0
ifconfig: interface lo0 does not exist

Then you've found a machine that doesn't have a loopback device -- someone's probably done something really nasty to it (I don't think it's a supported configuration at that point, and lots of things will probably act strangely). Otherwise, you'll see something like this:

[EMAIL PROTECTED]:~>ifconfig lo0
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128

which means you win, things will probably work as expected.

--
[ christopher wright ]
[EMAIL PROTECTED]
http://kineme.net/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to