TopServe

This is being released under the GNU-LPGL licensing agreement.  Basically, it means that you may use this source in whatever program you want, but any changes you make to THIS source must be made available.  Please email any improvements to wprice@cookeville.total-web.net and I will try to implement them into this distribution.


What does it do?

The goal is to provide a tool to allow Clarion for Windows developers to implement a free client/server database across a TCP/IP network.  This includes the internet.  


How does it work?

After putting TopServe into your program, you can then run the program with /Server in the command line.  You can then run additional copies of the program from different machines and they will communicate with the machine that ran the /Server.  All files are actually stored on the server machine.  Calls to the server are made by using TS_Open(File), TS_Set(File), ect.  


How do I use the demo?

Unzip the files into a directory.  Run TSDEMO /SERVER from this directory.  Place a copy of tsdemo.exe into another directory and run TSDEMO.  If you want to run the client copy on another machine, you just have to change the ip address in the TS_Login routine in the BrowseSubjectsRemote procedure.  Run the Browse Subjects Remote procedure.  The program will now communicate with the server program and fill the browsebox with records from the server.


To do

Put all code in a template.  
Add additional file functions/procedures.
Create a Clarion File Driver so that standard Clarion file functions would work.  This would get rid of the need to use TS_ functions.
Documentation.
Improve efficiency to TCP/IP communications.
Add encryption.


How can you help?

The whole idea behind making this source available is that it allows developers to lend their expertise in specific areas.  The end result is that everyone is provided with a tool that would be difficult for any one developer to create.  I am "giving away" code that took many hours to develop.  I hope that other developers will find this useful and expand upon it.  If you make any imporvements please send them to wprice@cookeville.total-web.net.


Credits

Some of the TCP stuff was base on code from Ed Reece (ed.reece@infopackaging.com)
Data conversion functions were written by Olaf Martens. 

Thanks, Wayne Price
wprice@cookeville.total-web.net
