AppleTalk / C Programming Problem

Michael Peirce peirce at outpost.UUCP
Sun Jan 27 10:47:30 AEST 1991


In article <1991Jan26.151519.1 at telematik.informatik.uni-karlsruhe.de>, schaefer at telematik.informatik.uni-karlsruhe.de writes:
> 
> If you look at "Inside Macintosh Vol II" Page 283 you come to know
> that the destination-socket must not be in the same node as the source-
> socket. 

Not necessarily true.

There is a call called SetSelfSend that allows AppleTalk to work intranode
in addition to the normal internode.

Many programs and inits turn this on (Public Folder for example turns
on self send).  There's even an init that someone wrote that does
nothing els, but turn self send on.

It's very helpful when debugging network code without having to transfer
the programs around.  (You do have to make sure you are doing things
asynchronously though, or it hangs).

-- michael


--  Michael Peirce         --   outpost!peirce at claris.com
--  Peirce Software        --   Suite 301, 719 Hibiscus Place
--  Macintosh Programming  --   San Jose, California 95117
--           & Consulting  --   (408) 244-6554, AppleLink: PEIRCE



More information about the Comp.lang.c mailing list