Hi Robert,

The server code I use is here:
http://svn.origo.ethz.ch/wsvn/skychart/trunk/skychart/cu_tcpserver.pas

One thread (TTCPDaemon) is waiting for a new connection, then it start a client 
thread (TTCPThrd) to handle the connection. The program is configured to have 
up to 10 simultaneous client, each connected to its own chart.
You can see connected client from the menu View / Server information. But this 
not write anything to the trace file to avoid any conflict due to the 
multi-thread nature of the process.

I not have VB6 but I try to make a vbs client. Unfortunately there is no 
winsock object available for scripting on a basic Windows installation. 
So I use a third party library to make this working client:
http://svn.origo.ethz.ch/wsvn/skychart/trunk/skychart/sample_client/script/vbclient.vbs

Also since this week snapshot you can send command to a running instance using 
command line options. This can be an alternative if you don't need interaction 
with Skychart but just send pointing instruction.
See this example:
http://svn.origo.ethz.ch/wsvn/skychart/trunk/skychart/sample_client/script/client1.cmd
Documentation of the available options:
http://www.ap-i.net/skychart/en/documentation/line_commands

Regards,

Patrick

Reply via email to