[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.1.1 ggzwrap

This one should be used in production code, and it's very suitable for the server, because it is small, has no GUI and supports command line options. Its arguments are the program to be executed (--exec), the inbound and outbound file descriptors to be redirected (--fdin, --fdout), and an option whether the received strings should be converted between 'traditional GGZ' easysock order and normal C string order (--convert). So a sample call may look like this: ExecutablePath=/usr/local/ggz/lib/ggzwrap --exec=/usr/local/ggz/lib/tictactoe --fdin=3 --fdout=3

The GGZ Muehle game uses this one.



This document was generated by Abel Cheung on December, 2 2004 using texi2html