This is the simple test code to receive the data

procedure TForm1.WSocket1DataAvailable(Sender: TObject; ErrCode: Word);
begin
   Inc(rec,1);
   caption:= 'Received packets = '+inttostr(rec);
   memo1.lines.add(WSocket2.ReceiveStr);
end;



> Are you calling the message pump from one of your event handler ? You 
> shouldn't !
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to