On Mon, 2007-01-22 at 12:07 +1100, 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 ;-)
In an AI? :P > > > Should a client start by sending a protocol 0.1 connect message and > > > then ramp up depending on the response? This is a bit irritating as the > > > connect message type changes in between version 0.1 and 0.2? > > > > Just send a connect frame in the version you want to talk in. I would > > recommend using tp03. Nobody really speaks tp02 anymore and you would be > > hard pressed to find anything which supports tp01. > > The only server I can get to work repliably is the stable release of the > tpsever-cpp. It should support tp03 happily? (I was looking at tp02). What problems are you having? I'm sure Lee would like to see what problems you are having. tpserver-py is very much in a state of flux at the moment. > How stable is the TP03 protocol? The website implies I should not use > it, as it is not final. The website is a little wrong at the moment. (Will fix soon.) We are currently discussing tp04, tp03 can be considered stable. > As an aside - the link to "Formatted Strings" links back to the same > document -> Should there be another page for that format? We never got around to defining formatted strings. Will define properly in tp04. > > The server will either return a failure frame or a text message if what > > you sent is incorrect. > > 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 are getting a string it means that the server was unable to figure out what you sent it (or what you sent it wasn't a valid frame). Generally it means you are talking to a non-tp server :P > Regards, > nash Your best bet is to just talk tp03. All servers support tp03 (even the stable release of tpserver-cpp). Tim Ansell _______________________________________________ tp-devel mailing list [email protected] http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel
