Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!uunet!seas.gwu.edu!rjohnson From: rjohnson@seas.gwu.edu (Ray Johnson) Newsgroups: comp.sys.mac.programmer Subject: AppleTalk ATPOpenSocket/ATPCloseSocket Message-ID: <2874@sparko.gwu.edu> Date: 17 Mar 91 06:53:55 GMT Reply-To: rjohnson@seas.gwu.edu (Ray Johnson) Organization: The George Washington University, Washington D.C. Lines: 14 While ATPOpenSocket in InsideMac asks for a Byte for the socket. In Think-C you must give it a short. This is because of the differences between what a short and a Byte mean between MPW and Think-C. This was pointed out to me by Ben Cranston from Maryland. In general if you see the word Byte used in in InsideMac and your using Think-C you should consider using a short int instead. Just check it out to be safe. -- Ray Johnson Internet: rjohnson@seas.gwu.edu Phone: (202)994-6853 The George Washington University