% sserver Soccer Server Ver. 5.12 Copyright (C) 1995, 1996, 1997, 1998 Electrotechnical Laboratory. Itsuki Noda, Yasuo Kuniyoshi and Hitoshi Matsubara. wind factor: rand: 0.000000, vector: (0.000000, 0.000000)A window of soccermonitor appears on CRT.
% cd sampleclient/
% ls
client* client.c client.h client.o
Makefile Makefile.tmpl Makefile.tmpl2
tk325% client <--- connect Server with default parameters -
hocalhost 6000. You can change them as argument.
(init "Myteam") <--- This program sends 'stdin' data to Server.
send 6000 : (init "Myteam")
recv 33097 : (init l 1 before_kick_off)
<--- display data received from Server.
It says Left side, Uniform Number = 1 & PlayMode.
recv 33097 : (see 0 ((goal r) 66.7 33) ((flag r t) 55.7 3)
((flag p r t) 42.5 23) ((flag p r c) 53.5 43))
: <--- Continuosly displaying the recieving data,
you can key in (move 0 0), for example.
recv 33097 : (see 0 ((goal r) 66.7 33) ((flag r t) 55.7 3)
((flag p r t) 42.5 23) ((flag p r c) 53.5 43))
:
<--- You can notice messages appears in left
lower window of soccermonitor.