ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/kgsueme/bin/gtp-controller
(Generate patch)

Comparing kgsueme/bin/gtp-controller (file contents):
Revision 1.3 by pcg, Mon May 17 01:24:22 2004 UTC vs.
Revision 1.4 by pcg, Sun May 23 12:36:14 2004 UTC

55 my $class = shift; 55 my $class = shift;
56 my $self = bless { @_ }, $class; 56 my $self = bless { @_ }, $class;
57 57
58 print STDERR "$0 version $VERSION connecting...\n" if $verbose; 58 print STDERR "$0 version $VERSION connecting...\n" if $verbose;
59 59
60 my $sock = new IO::Socket::INET PeerHost => $ENV{KGSHOST} || "kgs.kiseido.com", PeerPort => "2379" 60 my $sock = new IO::Socket::INET PeerHost => KGS::Protocol::KGSHOST, PeerPort => KGS::Protocol::KGSPORT
61 or die "connect: $!"; 61 or die "connect: $!";
62 62
63 $sock->blocking (1); 63 $sock->blocking (1);
64 $conn->handshake ($sock); 64 $conn->handshake ($sock);
65 65

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines