gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Gunnar Farnebäck
Subject: Re: [gnugo-devel] TCP/IP connection built into GNU Go?
Date: Sat, 09 Oct 2004 03:43:36 +0200
User-agent: EMH/1.14.1 SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/21.3 (sparc-sun-solaris2.9) MULE/5.0 (SAKAKI)

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.

> 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.

/Gunnar




reply via email to

[Prev in Thread] Current Thread [Next in Thread]