Changeset 6893 for source


Ignore:
Timestamp:
Nov 10, 2009, 6:15:28 PM (15 years ago)
Author:
Christoph Mayer
Message:

-visual stuff

Location:
source/ariba
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/overlay/BaseOverlay.cpp

    r6880 r6893  
    914914        }
    915915
    916         //visual.configure("134.155.92.246", 50005);
     916        visual.configure("134.155.92.246", 50005);
    917917        //visual.configure("141.3.161.8", 50005);
    918918        visual.visCreate(visualIdBase, nodeId, "", "");
  • source/ariba/utility/visual/ServerVis.cpp

    r6849 r6893  
    4343
    4444use_logging_cpp(ServerVis);
    45 
    4645
    4746typedef enum _NETWORK_ID {
     
    109108
    110109void 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{
    113114                socket.send( boost::asio::buffer(msg) );
     115        }catch( std::exception& e ){
     116                logging_warn("visual connection failed");
     117                socket.close();
     118                socketOpened = false;
    114119        }
    115120}
Note: See TracChangeset for help on using the changeset viewer.