Ignore:
Timestamp:
Aug 30, 2011, 3:50:15 PM (13 years ago)
Author:
george
Message:
  • Fixed: Do not send or receive data for comm classes if not in active state.
  • Fixed: TCommProtocol now raise ENotActive exception on try to send data while in inactive state.
  • Fixed: Reseting event after data received in TCommThread class.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • PinConnection/UCommSocket.pas

    r231 r272  
    4949procedure TCommSocket.ReceiveData(Sender: TCommPin; Stream:TStream);
    5050begin
    51   Socket.SendStreamRaw(Stream);
     51  if FActive then Socket.SendStreamRaw(Stream);
    5252end;
    5353
Note: See TracChangeset for help on using the changeset viewer.