Ignore:
Timestamp:
02/05/08 11:41:55 (17 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

    r8840 r8856  
    4949public:
    5050    MCeCoCom(MLog *out)
    51         : MTcpIpIO(7304, 7404), fOut(out), fStatus(0), fComStat(kNoCmdReceived),
     51        : MTcpIpIO("ceco", 7304, 7404), fOut(out), fStatus(0), fComStat(kNoCmdReceived),
    5252        fHumidity(0), fTemperature(0), fWindSpeed(0), fSolarRadiation(-1),
    5353        fAlarmCounter(0)
  • trunk/MagicSoft/Cosy/tcpip/MTcpIpIO.cc

    r8843 r8856  
    3535     */
    3636
    37 MTcpIpO::MTcpIpO(Int_t tx)
    38 {
    39     fTxSocket = new TSocket("ceco", tx);
     37MTcpIpO::MTcpIpO(const char *addr, Int_t tx)
     38{
     39    fTxSocket = new TSocket(addr, tx);
    4040}
    4141
     
    4646}
    4747
    48 MTcpIpIO::MTcpIpIO(Int_t tx, Int_t rx) : MTcpIpI(rx), MTcpIpO(tx)
     48MTcpIpIO::MTcpIpIO(const char *addr, Int_t tx, Int_t rx) : MTcpIpI(rx), MTcpIpO(addr, tx)
    4949{
    5050    RunThread();
  • trunk/MagicSoft/Cosy/tcpip/MTcpIpIO.h

    r8843 r8856  
    3737
    3838public:
    39     MTcpIpO(Int_t tx);
     39    MTcpIpO(const char *addr, Int_t tx);
    4040    ~MTcpIpO();
    4141
     
    5353
    5454public:
    55     MTcpIpIO(Int_t tx, Int_t rx);
     55    MTcpIpIO(const char *addr, Int_t tx, Int_t rx);
    5656    ~MTcpIpIO();
    5757
Note: See TracChangeset for help on using the changeset viewer.