ActiveSocket provides an easy-to-use development interface to a variety of IP protocols. By using ActiveSocket, you can very easily create or enhance applications with network features.
ActiveSocket features the following: ICMP, UDP, UDP, HTTP and HTTPs with support for proxy servers and secure web sites, DNS, Telnet, UDP time protocol, UDP Client Server Datagram Communications, RSH remote shell script interface, SNMP (Simple Network Management Protcol), SNMP Traps, SNMP Mib Browser, Sockets, WOL (Wake-On-LAN), IP-to-Country, and more.
ActiveSocket can be well integrated into HTML environments. This document describes how ActiveSocket can be integrated into HTML projects.
When using HTML, there are two ways to install the ActiveSocket Toolkit on a client PC:
You can install the ActiveSocket Toolkit automatically using the following HTML code on top of the HTML page:
<head>
<object id="objSocket" codeBase="http://www.activexperts.com/files/network-component/asocket.dll" height="30" width="200"
classid="CLSID:916C28A2-8314-4AA5-9E25-18E5DEFBE2A3" viewastext></object>
</head>
The ActiveSocket Toolkit will be installated automatically. The user will be asked to confirm the installation, because the DLL is coming from an untrusted site (www.activexperts.com). There are two ways to avoid prompting:
On each client PC, download the ActiveSocket Toolkit from the ActiveXperts Download Site and start the installation. The installation guides you through the installation process.
You must use Javascript to declare and create the objects.
Use the following Javascript code to declare and create the object:
var objUdp; objUdp = new ActiveXObject ( "ActiveXperts.Udp" );
There are UDP samples included with the product. You can also find them on the ActiveXperts FTP site: ftp.activexperts-labs.com/samples/asocket