Changeset 19521 for juggler/trunk/modules/gadgeteer/gadget/Connector.cpp
- Timestamp:
- 11/14/06 15:56:58 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/trunk/modules/gadgeteer/gadget/Connector.cpp
r18824 r19521 30 30 31 31 #include <vpr/IO/Socket/SocketStream.h> 32 #include <vpr/Util/ReturnStatus.h>33 32 34 33 #include <cluster/Packets/Packet.h> … … 38 37 { 39 38 40 vpr::ReturnStatus Connector::attemptConnect( Node* node)39 bool Connector::attemptConnect(Node* node) 41 40 { 42 41 // - Try to connect to remote host … … 74 73 << clrOutBOLD( clrRED, " ERROR:" ) 75 74 << " Failed to set address" << std::endl << vprDEBUG_FLUSH; 76 return vpr::ReturnStatus::Fail;75 return false; 77 76 } 78 77 … … 103 102 << std::endl << vprDEBUG_FLUSH; 104 103 105 return vpr::ReturnStatus::Fail;104 return false; 106 105 } 107 106 … … 159 158 node->setSockStream( NULL ); 160 159 delete sock_stream; 161 return vpr::ReturnStatus::Fail;160 return false; 162 161 } 163 162 } … … 174 173 << std::endl << vprDEBUG_FLUSH; 175 174 176 return vpr::ReturnStatus::Fail;175 return false; 177 176 } 178 177 179 return vpr::ReturnStatus::Succeed;178 return true; 180 179 } 181 180
