Overview
TWSocketServer will normally be used to listen on a given tcp port. When a client connect, it will instanciate a new TWSocketClient component to handle communication with client. Normally you will derive your own component from TWSocketClient to add private data and methods to handle it. You tell TWSocketServer which component it has to instanciate using ClientClass property. You have to initialize instances from OnClientConnect event handler. TWSocketServer maintain a list of connected clients. You can access it using Client[] indexed property and ClientCount property.
Since it is derrived from TWSocket, lots of properties and events are unused and not listed here. Properties and events that have a meaning in both server or client component are listed here.
Properties
Methods
Name |
|
Short description
|
Name |
|
Short description
|
Events
How to
Title