Changeset d76af81 in nscp for modules/NSCAAgent/NSCAThread.cpp
- Timestamp:
- 03/18/08 20:25:53 (5 years ago)
- Branches:
- master, 0.4.0, 0.4.1, 0.4.2, stable
- Children:
- 5aebda1
- Parents:
- febff5f
- File:
-
- 1 edited
-
modules/NSCAAgent/NSCAThread.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
modules/NSCAAgent/NSCAThread.cpp
r252c016 rd76af81 162 162 simpleSocket::DataBuffer inc; 163 163 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()); 165 165 return; 166 166 } 167 167 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()); 169 169 return; 170 170 }
Note: See TracChangeset
for help on using the changeset viewer.








