On Monday 22 January 2007 14:07, Brett Nash wrote: > Hello Tim and others, > > > Cool! What language are you using? > > C. Based on the enlightenment libraries... So hopefully lots of > themeable bling too ;-)
There is a C++ client library that takes care of most of the protocol handling, and lets you just worry about how you use the information. <snip> > However this is where I'm not sure. How do I handle a text message > correctly? I can't be sure I got the whole string, so I have no way of > syncing the version. Should I disconnect, and ramp down a version? If you use the c++ library (libtpproto-cpp) then it is taken care of (I think, and if it's not, I'll fix it). From tpserver-cpp you will only get text back (as opposed to a frame) if it looked like you didn't send the correct header to the Connect Frame. You will get a frame back if your particular version of tp protocol is not supported (which is only tp01 currently). > Regards, > nash Best of luck for the competition. Regards Lee
pgpf5dX40QlqC.pgp
Description: PGP signature
_______________________________________________ tp-devel mailing list [email protected] http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel
