Description
Code Wizard Pro 2 can act as a server – you can send calculation requests and receive codes instantly and without delays, through Pipes. This makes it possible to use CWP-2 in solutions for automated code delivery – mobile applications, messenger bots, web scripts, online shops, etc.
With the CWP-2 Client you can send calculation requests and receive calculated codes or simply use it in monitoring mode for the CWP-2 Calculator. With the CWP-2 Web Client you can access all calculation algorithms available in the CWP-2 Application remotely via the Internet or a local network via a web browser. It is also possible to use the provided API, examples and sources to implement Code Wizard Pro 2 Calculator into your own products and services.
The average code calculation time is 1 second. Counting the time it takes to send a request and receive a response. When using large databases or online calculations, this time can reach 3 seconds or more in some cases.
To activate Server mode you need to follow two steps:
1. Make sure you have at least 100 tokens loaded into your CWP-2 Key. Server mode will be disabled if the balance becomes lower.
2. Run CWP-2 Calculator with command line switch ‘server’ as ‘CWP2.exe /server’.
The ‘server’ command line option disables all delays during code calculation and user confirmations. This also allows you to log all code calculations to ‘%APPDATA%\Code Wizard Pro 2\server.log’.
To view server requests and responses in real time, you can use a suitable log explorer like ‘Tail for Win32’, ‘SnakeTail’, ‘glogg’ or ‘BareTail’.
See ‘CWP2_Client.inc’ for Win32 API examples and more information on how to write your own client. Sources and compiled binaries for the Pipe Web Server and HTTP Client are also included.