client.dpr
资源名称:gf135s.zip [点击查看]
上传用户:zhuoer
上传日期:2007-01-08
资源大小:128k
文件大小:1k
源码类别:
远程控制编程
开发平台:
Delphi
- { This demo illustrates a simple chat program using the Client and Server socket
- components. With this demo you can send text between two computers. This
- program must be running on both computers at the same time for a connection
- to be made. Once connected you can exchange text by typing into the memo and
- pressing the Enter key which will send the last line of text in the memo to
- the other machine. }
- program client;
- uses
- Forms,
- main in 'main.pas' {ClientForm},
- MessageUnit in 'MessageUnit.pas' {frmMessage},
- about in 'about.pas' {AboutForm};
- {$R *.RES}
- begin
- Application.Initialize;
- Application.Title := 'BoyFriend';
- Application.CreateForm(TClientForm, ClientForm);
- Application.CreateForm(TfrmMessage, frmMessage);
- Application.CreateForm(TAboutForm, AboutForm);
- Application.Run;
- end.