rkillera
March 14th, 2002, 03:37 AM
This is my client socket read function (Borland C++ Builder) and i dont recieve all the lines from the server. Any ideea why? Maybe I should use a blocking socket instead and if so can u give me an example of how to use it?
void __fastcall TData::ClientSocketRead(TObject *Sender,
TCustomWinSocket *Socket)
{
AnsiString tmp;
tmp=ClientSocket->Socket->ReceiveText();
TopForm->Memo1->Lines->Add(tmp);
}
void __fastcall TData::ClientSocketRead(TObject *Sender,
TCustomWinSocket *Socket)
{
AnsiString tmp;
tmp=ClientSocket->Socket->ReceiveText();
TopForm->Memo1->Lines->Add(tmp);
}