| www.elbiah.de |
Dieses Zusatzpaket erweitert die Skriptsprache von Hamster. Es ist damit möglich, Fliesskommaberechnungen durchzuführen und mit anderen Programmen und Skripts via TCP/IP zu kommunizieren (sowohl als Client als auch als Server). Enthalten sind die notwendige Bibliothek (HscTools.dll), die dazu passenden Skriptmodule und diverse Beispiel-Skripte.
Hinweis: Auch mit Hamster Classic ab Vr. 1.3.23.140 (Beta) nutzbar.
This additional package enhances Hamster's script language. It allows doing floating point arithmetics and to communicate with other programs and scripts by TCP/IP (clients as well as servers). The package consists of a library file (HscTools.dll), script modules to access it and some example scripts.
Note: Can be used with Hamster Classic vr. 1.3.23.140 (Beta) or above as well.
Download: ht1100.zip (Version 1.1.0.0, 150 KB, 2002-10-26)
ht_common.hsm This module contains the basic declarations needed by the other modules and is therefore always loaded automatically when using one of the other modules. It also controls loading and unloading of HscTools.dll.
ht_floatstack.hsm A module for floating point calculations.
ht_netclient.hsm A basic client for TCP/IP communication.
ht_nntpclient.hsm A specialized client for NNTP communication based on ht_netclient.hsm.
ht_recoclient.hsm A specialized client for Hamster's REmote COntrol (=reco) server, based on ht_netclient.hsm.
ht_netserver.hsm A basic server for TCP/IP communication.
ht_netlink.hsm A specialised TCP/IP client+server to redirect connections. It also allows logging of the data sent through it.
ht_netspecial.hsm Some special TCP/IP communication tools: - SNTP time synchronisation - WHOIS requests
ht_demo_floatstack.hsc This script demonstrates the use of ht_floatstack.hsm. It does nothing useful ...
ht_demo_floatstack_moon.hsc This script also demonstrates the use of ht_floatstack.hsm. It calculates current moon age and phase and shows the date of next new/full moon.
ht_demo_nntpclient.hsc This script demonstrates the use of ht_nntpclient.hsm. It just connects to the NNTP server, logs in and gets its HELP-list.
ht_demo_recoclient.hsc This script demonstrates the use of ht_recoclient.hsm. It just connects to RC server, logs in and gets its HELP-list.
ht_demo_netserver.hsc ht_demo_netclient.hsc These scripts demonstrate the use of modules ht_netserver.hsm and ht_netclient.hsm, i. e. the first one is a server handling connections from localhost (127.0.0.1) on port 30042, to which the second one connects to. To connect to the running ht_demo_netserver.hsc by telnet, use: telnet 127.0.0.1 30042
ht_demo_httpserver.hsc ht_demo_httpclient.hsc Similar to the server/client-pair above, but uses (a subset of) HTTP for communication on port 30080. You can also enter http://127.0.0.1:30080/ in your browser to connect to the running ht_demo_httpserver.hsc.
ht_demo_netlink.hsc This script demonstrates the use of ht_netlink.hsm. It redirects all incoming connections on 127.0.0.1:30119 to 127.0.0.1:119 (=Hamster's NNTP server) and logs the data sent through this "link".
ht_demo_netspecial.hsc This script demonstrates the use of ht_netspecial.hsm.
|
Copyright © 2003 by Jürgen Haible - Impressum |