Page 1 of 1

Xboard - fire & forget

PostPosted: Thu May 25, 2006 8:38 am
by jarema
Hi all !
I'm trying to write simple XBoard client & I have known old problem with CHESS ENGINE COMMUNICATION PROTOCOL.
I read (of course) and have tried many ways to put messages to XBoard and get the answers from it.
But all my ideas fails. (stdin, stdout - popen, dup, fork, close... ehhhh it's still doesn't' work).
So - I thing many beginner programmers have similar problem.
Does anybody have a simple program in C or C++ which allow take control over XBoard?
I prefer Fire && Forget solution, because I've spent many hours on thing - that was rather Reverse Engineering.