[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Apple Events over TCP/IP



At 11:30 AM -0400 10/26/99, Chris Nandor wrote:

>I was working a little bit on this today (with Mac OS 9, of course).
>
>I think I have most of it down, but I cannot figure out the TYPE part.  In
>old-style PPC ports, it was simply 'PPCToolbox'.  Does anyone have any info
>on how to pack this thing?  Maybe someone who works at Apple?  :-)
>
>Here is what I have now in Mac::AppleEvents::Simple.  It works fine, but
>not with the TCP/IP addresses.  Everything up to the LocationNameRec is
>fine, I think.  I am not sure what PPCLocationKind should be, and the rest
>is just a mess ... any clues are welcome.

If you use the PPC Chooser, it will allow you to choose an IP based 
target and return the correct structure.  To see this work you could 
connect to an IP based ToolServer from BBEdit.

You can also build the structure by hand if you know the IP address. 
Unfortunately the information to do such is only available in seeded 
headers.  The new Universal Headers haven't been released to the 
public yet and as such if I copy the relevant information here I'm 
likely to be violating my NDA.

-- 
Jim Correia                                Bare Bones Software, Inc.
correia@barebones.com                     <http://web.barebones.com>

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org