|
SocketLite is a high performance ActiveX/COM component designed for use specifically by ASP and other COM/ActiveX enabled
languages and environments, including VB, VC++, C++ Builder, Delphi, VBScript, JScript, MTS, Perl and many others.
SocketLite is ideal for situations where your application must connect, and then send and receive data in a synchronous manner. Note that SocketLite is built specifically for use from ASP, and as such provides only blocking operations, and does not provide the ability to open a listening socket. If your application needs to open a listening socket, consider using one of our WinsockQ, SocketQ, or SocksvrQ products.
SocketLite provides a number of advanced features such as the ability to connect through specific network interfaces, support for local and remote host IPs and aliases, connect, send
and receive timeouts, the ability to receive according to a set number of bytes or a terminating sequence, as well as direct memory access for fast and efficient sends.
Additionally, SocketLite is optimised for scripting languages such as ASP by providing the ability to operate with or without initialising Winsock. This is advantageous if your application is running under an environment such as ASP where the component will be instantiated and used many times for short periods from seperate threads where the parent application has already initialised Winsock (Winsock needs only to be initialised on a per application basis, so when using a component from ASP, IIS is the application using the component). Having been designed using a Multi-Threaded Apartment (MTA), SocketLite is also safe to access from multiple threads, and has thread synchronisation implemented internally to ensure data integrity. SocketLite also includes an Apartment Threaded version of the component for developers who will not be using the component from multiple threads (this version does not have thread synchronisation implemented internally). SocketLite implements IObjectSafety and is marked as safe for scripting and safe for initialisation, meaning that it can be used from a web browser without the user getting a message saying that the ActiveX control may be unsafe.
The following is a brief list outlining some of the features that SocketLite offers:
|