Menu

(mostly) working applet client

There is a mostly working sample server in zstar/exp (it does chat, responds to hello, etc)
And a client of sorts in zstar/src-java/zstar/client/*.java

There is a web page you will need to edit in zstar/src-java/zapplet.html in order to make the
program work.

The assumptions made with the client and server currently are that you have txproxy running
on some ports with inetd.

These are my /etc/inetd.conf entries:
zsproxy stream tcp nowait arty /chunk/arty/zstar/exp/txproxy txproxy
expserv stream tcp nowait arty /chunk/arty/zstar/exp/txproxy txproxy 10025

These are my /etc/services entries:
zsproxy 2005/tcp
expserv 2006/tcp

If you adjust the port number to suit here, and then in zstar/src-java/zapplet.html and
exp/pong.tcl (the example server so far), then you will be able to communicate between the
server and an arbitrary number of clients.

txproxy is the proxy described in docs/html-doc/events.html, which replaces the old 'events'
doc. I am working on putting the correct command list into this doc.

The doc is already present on zstar.sourceforge.net.

Currently, the server->client command list is documented by the methods of interface ztarget
in zstar/src-java/zstar/client/ztarget.java. The ztcp object enumerates these methods and
uses them as the method list.

Will hopefully have the C client (opengl only) running in a couple of days.

Art

Posted by Art Yerkes 2000-09-06

Log in to post a comment.