Ignore:
Timestamp:
03/18/08 20:25:53 (5 years ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.0, 0.4.1, 0.4.2, stable
Children:
5aebda1
Parents:
febff5f
Message:
  • Added some more error mesages to the NSCA module
    • Added support for srguments to LUA module. syntax: function debug (command, args) -- args is a table with all arguments
File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/NSCAAgent/NSCAThread.cpp

    r252c016 rd76af81  
    162162    simpleSocket::DataBuffer inc; 
    163163    if (socket.connect(nscahost_, nscaport_) == SOCKET_ERROR) { 
    164       NSC_LOG_ERROR_STD(_T("<<< Could not connect to: ") + nscahost_ + _T(":") + strEx::itos(nscaport_)); 
     164      NSC_LOG_ERROR_STD(_T("<<< Could not connect to: ") + nscahost_ + _T(":") + strEx::itos(nscaport_) + _T(" ") + socket.getLastError()); 
    165165      return; 
    166166    } 
    167167    if (!socket.readAll(inc, sizeof(NSCAPacket::init_packet_struct), sizeof(NSCAPacket::init_packet_struct))) { 
    168       NSC_LOG_ERROR_STD(_T("<<< Failed to read header from: ") + nscahost_ + _T(":") + strEx::itos(nscaport_)); 
     168      NSC_LOG_ERROR_STD(_T("<<< Failed to read header from: ") + nscahost_ + _T(":") + strEx::itos(nscaport_) + _T(" ") + socket.getLastError()); 
    169169      return; 
    170170    } 
Note: See TracChangeset for help on using the changeset viewer.