>Well, since TightVNC is based on VNC code, it has to be GPL. What I was >really asking is, are there any pitfalls in using Unix or Windows C code >on a Mac? Also, are there any free compilers for the Mac?
Personally, I recommend working with Dair Grant and his VNCThing viewer rather than the AT&T Mac vncviewer. VNCThing has only one serious bug in my recent experience (it chokes on RRE updates, which are easily disabled) and works with any Mac with the requisite version of CarbonLib installed. Also, it already has a couple of "enhanced" encodings installed (Zlib and Zlib-Hextile), so you can see how to do it by comparing VNCThing's code to the TridiaVNC versions. The disadvantage is that VNCThing has a different source layout than the AT&T codebase that TightVNC is based on, and so maintaining synchronity with TightVNC updates and bugfixes may require extra effort. I believe VNCThing uses the non-free Metrowerks CodeWarrior environment, which is nevertheless an excellent compiler/editor/debugger combo. I strongly recommend that anyone wishing to do serious Mac development gets themselves a full copy. As a student, I get a significant discount on it, and plan to upgrade to the latest version when my next loan instalment arrives. As for specific platform issues, just remember that the Mac uses Open Transport instead of BSD-style sockets, and runs on big-endian processors (680x0 and PowerPC) rather than the little-endian x86. If you start from the UNIX source for TightVNC, you should find that endian-independent code is already in place. If Constantinos has any sense, he'll have left the endian-independent code in the Windows source as well, but starting from the UNIX base is usually best. I haven't examined the code specifically for this, but I believe the networking code is separate from the encoding in both TightVNC and VNCThing, so you shouldn't have to worry about Open Transport too much. -- -------------------------------------------------------------- from: Jonathan "Chromatix" Morton mail: [EMAIL PROTECTED] (not for attachments) website: http://www.chromatix.uklinux.net/vnc/ geekcode: GCS$/E dpu(!) s:- a20 C+++ UL++ P L+++ E W+ N- o? K? w--- O-- M++$ V? PS PE- Y+ PGP++ t- 5- X- R !tv b++ DI+++ D G e+ h+ r++ y+(*) tagline: The key to knowledge is not to rely on people to teach you it. --------------------------------------------------------------------- To unsubscribe, mail [EMAIL PROTECTED] with the line: 'unsubscribe vnc-list' in the message BODY See also: http://www.uk.research.att.com/vnc/intouch.html ---------------------------------------------------------------------