tcpstreamserver.dpr

来自「Server 端可以開啟多檔」· DPR 代码 · 共 34 行

DPR
34
字号
// NOTE: This demo ONLY runs under Windows.

program TCPStreamServer;

uses
    Forms,
    ServerMain in 'ServerMain.pas' {Form1};

{$R *.RES}

{
 Indy TCP Stream Server Demo
 Don Siders <sidersd@att.net>
 October 6, 2000

 Demonstrates use of the following:

  TIdTCPServer.Execute to service threaded connection requests.

 TIdTCPServer.WriteStream to send data to the client.

  TIdTCPServer.OpenWriteBuffer, TIdTCPServer.CloseWriteBuffer to manage
  Indy data buffering prior to transmission.

  Run TCPStreamServer.EXE prior to using TCPStreamClient.
}

begin
    Application.Initialize;
    Application.CreateForm(TForm1, Form1);
    Application.Run;
end.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?