VCL.InetWinSockets Sample

From RAD Studio Code Examples
Jump to: navigation, search

This Windows sockets sample is a package that installs the Web.Win.Sockets components in the Internet category on the Tool Palette.

Web.Win.Sockets was removed from the product, but you can see the documentation for Web.Win.Sockets on the XE5 docwiki: http://docwiki.embarcadero.com/RADStudio/XE5/en/Working_with_sockets_Index

Location

You can find the InetWinSockets sample project at:

Description

This sample consists of a package (.bpl) that you can install in RAD Studio. The package installs three Web.Win.Sockets components in the Tool Palette.

How to Use the Sample

  1. Navigate to Start | Programs | Embarcadero RAD Studio Rio | Samples and open Object Pascal\VCL\InetWinSockets.dproj.
  2. Right-click the .bpl in the Project Manager.
  3. Click Install.

Files

File Contains

InetWinSocketsReg.pas

The code for registering the InetWinSockets components and their property editor

inetwinsockets.dpk

The source code for the InetWinSockets package

inetwinsockets.res

Resource file for the InetWinSockets package; contains the icons for the Tool Palette.

SocketsEditor

The code for the sockets editor.

Web.Win.Sockets.pas

The source file for the deprecated Web.Win.Sockets unit, upon which the InetWinSockets package is built.

Implementation

Installing the InetWinSockets package in the IDE installs three Web.Win.Sockets components (TTcpClient, TTcpServer, and TUpdpSocket) in the Internet category on the Tool Palette.

Uses

  • Web.Win.Sockets (deprecated and included in this sample)

See Also