Re: [gnugo-devel] TCP/IP connection built into GNU Go?

From:

Paul Pogonyshev

Subject:

Re: [gnugo-devel] TCP/IP connection built into GNU Go?

Date:

Sat, 9 Oct 2004 14:53:37 -0200

User-agent:

KMail/1.4.3

Gunnar wrote:
> Paul wrote:
> > $ ./interface/gnugo --mode gtp --gtp-listen 127.0.0.1:5000
>
> Hm, I thought you usually just listened to a port, without specifying
> any particular IP address.
Apparently it is possible to do either way. I'll remove IP address
for listening, didn't thought of it carefully.
> > The problem is that when you type `quit' and then try to make GNU Go
> > listen on the same port again, it won't work. The system says the
> > port is still in use. It gets released in about a minute (on my
> > machine.) Clearly, something is not being closed, but I don't
> > understand what it is. I doubt it could be a problem in `telnet'.
>
> I suggest you test whether tcplisten behaves in the same way and if
> not check its code; it's fairly minimalistic.
>
> > Also, `--gtp-connect' is not tested since I couldn't come up
> > with an easy way to test. The patch is completely non-
> > portable too.
>
> You can easily test it with tcplisten. An alternative is to test it
> with gnugoclient 3.0.
Yes, I'll try `tcputils'. Btw, what is `numbah' that lead the Random
Go Challenge?
Paul