>>759
//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "Unit1.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm1::TcpClient1Connect(TObject *Sender)
{
char *data="|送受信年月日(yyyy/mm/dd)|送受信時刻(ミリ秒まで)|送信or受信|データ(サーバからの応答=文字列)|";
for (int i=0; i < 500; i++) {
TcpClient1->SendBuf(data, sizeof(data), 0);

}
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Button1Click(TObject *Sender)
{
TcpClient1->Open();
}
//---------------------------------------------------------------------------