[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] How to use GnuGo non-locally?
From: |
Dave Denholm |
Subject: |
Re: [gnugo-devel] How to use GnuGo non-locally? |
Date: |
02 Jan 2003 17:59:38 +0000 |
<address@hidden> writes:
> Ralph Dratman wrote:
>
> > I would like to set up GnuGo on a Linux or FreeBSD server so that I
> > can then play against it from other computers running various
> > operating systems (Win98, Win2000, Mac, Linux). Only one client
> > machine at a time will be playing.
>
> You haven't specified very clearly exactly what you are trying
> to do. Will the two computers be together in the same room or
> will this be over the internet? Will you be manually starting
> each game or are you interested in collecting large numbers
> of games?
>
> If you can describe your intended experiment more accurately
> we can probably give you better advice.
>
> The simplest way of playing different computers together
> is to connect them with a null modem cable and use the Go Modem
> Protocol to communicate. This is the way computer tournaments
> work. Most machines at a computer tournament run Windows, a
> minority run Linux.
>
Should be easy enough to set things up to use a TCP socket in place of
a cable.
Eg could add an entry to /etc/inetd.conf so that the server listens
on a well known port, and spawns gnugo when a connection is made.
gnugo will run with stdin/stdout connected to the socket.
Then you need a clinet which will connect to a port.
Can do it using netcat for example. Eg in cgoban tell it
to spawn netcat server:port as the program.
dd
--
address@hidden http://www.insignia.com