Internet Server Control

A general purpose TCP/IP networking component for developing server applications.

Reference

Control Information

Object Name InternetServerCtl.InternetServer
File Name CSWSVAX6.OCX
Version 6.0.6000.0
ProgID SocketTools.InternetServer.6
ClassID F933D9FF-A30D-4EA3-B466-8924C0AB41B8
Threading Model Apartment
Help File CSW60HLP.CHM
Dependencies None
Standard RFC 768, RFC 791, RFC 793

Remarks

The Internet Server ActiveX control provides a simplified interface for creating event-driven, multi-threaded server applications using the TCP/IP protocol. The control interface is similar to the SocketWrench ActiveX control, however it is designed specifically to make it easier to implement a server application without requiring the need to manage multiple socket controls. In addition, the Internet Server control supports secure communications using the Secure Sockets Layer (SSL) and Transport Layer Security (TLS) protocols. Note that in order to access the secure features in this component, a Secure Edition development license is required.

Each instance of the Internet Server control represents a server, and each active client connection is managed internally and referenced by an integer value which uniquely identifies the client session. All interaction with the server and the clients connected to it uses an event-driven model, with the program written to respond to events such as OnConnect, OnRead and OnWrite.

Developers who have used the SocketWrench ActiveX control will find the Internet Server control has a familiar interface, with a subset of properties and methods that are specific to creating a server application. Each of the network events have an extra parameter which specifies the socket handle which should be used when communicating with the client. This enables the application to communicate with multiple clients without having to create multiple socket objects or use a control array.

Requirements

This ActiveX control is supported on Windows 2000, Windows XP, Windows Server 2003, Windows Vista and Windows Server 2008. If you are using Windows 2000, it is required that you have Service Pack (SP4) installed. If you are using Windows XP, it is required that you have at least Service Pack 2 (SP2) installed and it is recommended that you install Internet Explorer 7.0. It is also recommended that all critical updates to the Windows operating system be installed.

This component is compatible with any development tool that fully supports COM (Component Object Model) and the ActiveX control specification. This includes Visual Studio 6.0, Visual Studio .NET 2003, Visual Studio 2005 and Visual Studio 2008. If you are using Visual Basic 6.0 or Visual C++ 6.0, it is required that you have Service Pack 6 (SP6) installed. If you are using Visual Studio .NET 2003 or Visual Studio 2005, it is recommended that you install Service Pack 1 (SP1). In all cases, it is recommended that you have the current updates for your development tools installed.

Distribution

When you distribute an application that uses this control, you should install the appropriate file in the Windows system directory. ActiveX controls must be registered on the target system by the installation program before they can be used by an application.


Copyright © 2008 Catalyst Development Corporation. All rights reserved.