AppleTalk / C Programming Problem
schaefer at telematik.informatik.uni-karlsruhe.de
schaefer at telematik.informatik.uni-karlsruhe.de
Sun Jan 27 01:15:19 AEST 1991
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.
Try out to run your programm on two different Computers.
To do this you'll have to get the node-adress on each computer using
the GetNodeAdress() function (Inside Mac II, Page 303).
Then send from one node to the other one. There is just one problem
with it : The node address may change, if you restart your programm.
To avoid this complication use the NBP Protocoll to look up the destination-
nodes address or enter the dest-node adress during running time via
scanf().
(Guenter Schaefer, Karlsruhe)
More information about the Comp.lang.c
mailing list