Re: In search of suitable Carbon networking API...
Re: In search of suitable Carbon networking API...
- Subject: Re: In search of suitable Carbon networking API...
- From: Dylan Barrie <email@hidden>
- Date: Tue, 5 Nov 2002 20:17:30 -0800
On Tuesday, November 5, 2002, at 07:56 PM, Jonathan 'Wolf' Rentzsch
wrote:
Greetings Dylan,
I am currently considering porting my program (Aquaduct, see
http://postpose.com/aquaduct) from Cocoa to Carbon, and am thinking of
using Open Transport.
Very interesting. May I ask why? Of those that are moving, most are
moving from Carbon to Cocoa...
Well, I'd like to add support for 9, as well as X. Lots of people have
been asking for it. :)
Before I can, however, I need to be able to do a few things:
1) I need to be able to sniff packets off of the network, can Open
Transport do this?
2) I need to be able to inject packets into the network, and I need to
be able to specify the *entire* packet header (including the ethernet
header). Can Open Transport also do this?
If OT can't do these, could anyone recommend another Carbonized API
that I could look into?
OT can do both of these, under Mac OS 9. If you want to do this on Ten,
you should use the BSD sockets API, which is C-based. Also, I believe
you
need to run as root to open promiscuous mode on Ten.
Right now, I'm using BSD sockets. Is there no way to do it in X with
OT? :\
Thanks for the info, though!
Dylan Barrie
_______________________________________________
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.