A general purpose TCP/IP networking component for developing
server applications.
Reference
Control Information
Object Name |
InternetServerCtl.InternetServer |
File Name |
CSWSVX11.OCX |
Version |
11.0.2215.1846 |
ProgID |
SocketTools.InternetServer.11 |
ClassID |
9F5674C0-43F2-4EFF-BB9F-2D9AAD54C187 |
Threading Model |
Apartment |
Help File |
CSW11HLP.CHM |
Dependencies |
None |
Standards |
RFC 768, RFC 791, RFC 793 |
Overview
The Internet Server ActiveX control provides a simplified
interface for creating event-driven, multithreaded 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 Transport Layer Security (TLS) protocol.
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
The SocketTools ActiveX Edition components are self-registering
controls compatible with any programming language that supports COM
(Component Object Model) and the ActiveX control specification. If
you are using Visual Basic 6.0 you must have Service Pack 6 (SP6)
installed. It is recommended that you install all updates for your
development tools.
This control is supported on Windows 7, Windows Server 2008 R2 and
later versions of the desktop and server platforms. If you are using
Windows 7, you must have Service Pack 1 (SP1) installed as a minimum
requirement. It is recommended that you install the current service
pack and all critical updates available for the operating system.
This product includes both 32-bit and 64-bit ActiveX controls.
Native 64-bit CPU support requires the latest 64-bit version of
Windows 7, Windows Server 2008 R2 or later versions of the Windows
operating system.
Distribution
When you distribute an application that uses this control, you can
either install the file in the same folder as your application
executable or as a shared component in the appropriate system folder.
If you install the control in the system folder, it is important that
you distribute the correct version for the target platform and it
must be registered. If you install the control in the same folder as
your executable, it is recommended that you use registration-free
activation or COM redirection to ensure that the correct version of
the control is loaded by the application.
|