| Class TSrvForm (unit Srvdemo1) |
TForm
| Constructors |
| Functions |
procedure FormClose(Sender: TObject; var Action: TCloseAction);
procedure FormShow(Sender: TObject);
procedure PortButtonClick(Sender: TObject);
procedure SrvSocketSessionAvailable(Sender: TObject; Error: Word);
procedure StartServer;
procedure WMUser(var msg: TMessage);| Properties |
| Events |
| Variables |
ClientListBox : TListBox;
DataTable : TTable;
Label1 : TLabel;
Panel1 : TPanel;
PortButton : TButton;
PortEdit : TEdit;
SrvSocket : TWSocket;
ClientNumber : Integer;
Initialized : Boolean;| Constructors |
| Functions |
procedure FormClose(Sender: TObject; var Action: TCloseAction);* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
procedure FormShow(Sender: TObject);* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
procedure PortButtonClick(Sender: TObject);* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
procedure SrvSocketSessionAvailable(Sender: TObject; Error: Word);* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
procedure StartServer;* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
procedure WMUser(var msg: TMessage);* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
| Properties |
| Events |
| Variables |
ClientListBox : TListBox;
DataTable : TTable;
Label1 : TLabel;
Panel1 : TPanel;
PortButton : TButton;
PortEdit : TEdit;
SrvSocket : TWSocket;
ClientNumber : Integer;
Initialized : Boolean;Déclarations privées