SocketWrench ActiveX Control  
 

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

Reference

Control Information

Object Name SocketWrenchCtl.SocketWrench
File Name CSWSKX10.OCX
Version 10.0.1468.2520
ProgID SocketTools.SocketWrench.10
ClassID 8F3A3D8E-172E-491D-B438-7F807B0972ED
Threading Model Apartment
Help File CSW10HLP.CHM
Dependencies None
Standards RFC 768, RFC 791, RFC 793

Overview

The SocketWrench control provides a simplified interface for the standard Windows Sockets API used to develop Internet and intranet applications using the TCP/IP protocol. With SocketWrench, you can create both client and server applications, as well as send and receive UDP datagrams. SocketWrench also supports secure connections using the standard Secure Sockets Layer (SSL) and Transport Layer Security (TLS) protocols. Enabling the security features of the control is done by setting a single property, and all of the data that is exchanged between your application and the remote host will be encrypted.

Instead of using complex API calls, virtually all network functions can be performed by setting the control's properties and responding to events. For developers who are not familiar with the details of Internet programming, SocketWrench can also insulate them from many of the common pitfalls, without sacrificing functionality or flexibility.

Each instance of the control that you use corresponds to one socket which may or may not be currently connected to a remote host. If you need access to multiple sockets, you simply create multiple instances of the control. This is most commonly needed when your application acts a server and must be able to handle several connections at one time.

Requirements

SocketWrench is a self-registering ActiveX control 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.