Changeset 6893 for source/ariba/utility
- Timestamp:
- Nov 10, 2009, 6:15:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/visual/ServerVis.cpp
r6849 r6893 43 43 44 44 use_logging_cpp(ServerVis); 45 46 45 47 46 typedef enum _NETWORK_ID { … … 109 108 110 109 void ServerVis::sendSocket(const string& msg){ 111 if( socket.is_open() && socketOpened ){ 112 logging_debug("sending visual command: " << msg); 110 if( socket.is_open()==false || socketOpened==false ) return; 111 logging_debug("sending visual command: " << msg); 112 113 try{ 113 114 socket.send( boost::asio::buffer(msg) ); 115 }catch( std::exception& e ){ 116 logging_warn("visual connection failed"); 117 socket.close(); 118 socketOpened = false; 114 119 } 115 120 }
Note:
See TracChangeset
for help on using the changeset viewer.