Changeset 4865 for trunk/MagicSoft/Cosy/tcpip/MTcpIpIO.cc
- Timestamp:
- 09/05/04 18:56:47 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/tcpip/MTcpIpIO.cc
r4256 r4865 67 67 } 68 68 69 bool MTcpIpIO::Send(const char *msg) 70 { 69 bool MTcpIpIO::Send(const char *msg, bool force=kFALSE) 70 { 71 71 72 const MTime t(-1); 72 73 73 if ((double)t-(double)fTime<0.001*fSendInterval) 74 return true; 74 if ((double)t-(double)fTime<0.001*fSendInterval && !force) 75 return true; 76 75 77 76 78 if (lout.Lock("MTcpIpIO::Send")) … … 103 105 cout << "Tx: " << msg << flush; 104 106 #endif 107 105 108 return true; 106 109 }
Note:
See TracChangeset
for help on using the changeset viewer.