Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!mm5l+ From: mm5l+@andrew.cmu.edu (Matthew Mashyna) Newsgroups: comp.sys.mac.programmer Subject: Re: MacTCP used in Think C or Pascal? Message-ID: Date: 20 Oct 89 16:05:45 GMT References: <10103@thorin.cs.unc.edu> Distribution: usa Organization: Humanities and Social Sciences, Carnegie Mellon, Pittsburgh, PA Lines: 13 In-Reply-To: <10103@thorin.cs.unc.edu> Converting the TCP stuff to Think C is easy. Copy the header files to C library headers. Then you'll have to make a few adjustments. The TCPPB.h header has a pascal void typedef for ASR routines that must be changed to just void. You have to make a change in the dnr source code also: change any 'int' to 'long'. Remove the #include from MacTCPCommonTypes.h I think that's about all I had to do. If I missed anything, the complier will pick it up. Matt Mashyna Macintosh Initiative, H&SS Dean's Office Carnegie Mellon