import java.io.*;
class Sender extends Thread //发送线程
{
private PipedOutputStream out = new PipedOutputStream();
public PipedOutputStream getOutputStream(){
return out;
}
public void run()
program Sender;
uses
Forms,
Sender1 in 'Sender1.pas' {SenderForm};
{$R *.RES}
begin
Application.CreateForm(TSenderForm, SenderForm);
Application.Run;
end.