Changeset 9582 for trunk/MagicSoft


Ignore:
Timestamp:
05/10/10 11:28:24 (15 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy/tcpip
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/tcpip/MCeCoCom.h

    r9439 r9582  
    5050public:
    5151    MCeCoCom(const char *addr, const int tx=7304, const int rx=7404, MLog *out=NULL)
    52         : MTcpIpIO(addr, tx, rx), fOut(out), fStatus(0),
     52        : MTcpIpIO(addr, tx, rx, 15000), fOut(out), fStatus(0),
    5353        fTelescope(1), fComStat(kComProblem),
    5454        fHumidity(0), fTemperature(0), fWindSpeed(0), fSolarRadiation(-1),
  • trunk/MagicSoft/Cosy/tcpip/MTcpIpIO.cc

    r9443 r9582  
    6262}
    6363
    64 MTcpIpIO::MTcpIpIO(const char *addr, Int_t tx, Int_t rx) : MTcpIpI(rx), MTcpIpO(addr, tx)
     64MTcpIpIO::MTcpIpIO(const char *addr, Int_t tx, Int_t rx, UInt_t timeout) : MTcpIpI(rx, timeout), MTcpIpO(addr, tx)
    6565{
    6666    MTcpIpI::RunThread();
  • trunk/MagicSoft/Cosy/tcpip/MTcpIpIO.h

    r9439 r9582  
    7272
    7373public:
    74     MTcpIpIO(const char *addr, Int_t tx, Int_t rx);
     74    MTcpIpIO(const char *addr, Int_t tx, Int_t rx, UInt_t timeout=5000);
    7575    ~MTcpIpIO();
    7676
Note: See TracChangeset for help on using the changeset viewer.