C++Builder相談室 Part21 (327レス)
上下前次1-新
129: 2019/11/19(火)23:22 ID:oTHzii8i(2/2) AAS
>>128
ありがとうございます。
とりあえずこんな感じにしたらできました。
void __fastcall TForm1::IdTCPServerExecute(TIdContext *AContext)
{
TIdBytes buf;
if (!AContext->IOHandler->InputBufferIsEmpty()) {
buf.Length = 0;
while(1) {
AContext->Connection->IOHandler->CheckForDataOnSource(100);
if (!AContext->IOHandler->InputBufferIsEmpty()) {
break;
}
AContext->Connection->IOHandler->ReadBytes(buf, -1, true);
}
RecvStr = TEncoding::UTF8->GetString(buf);
}
}
上下前次1-新書関写板覧索設栞歴
あと 198 レスあります
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ
ぬこの手 ぬこTOP 0.018s