Ignore:
Timestamp:
Feb 14, 2017, 3:06:20 PM (8 years ago)
Author:
Sanahuja Guillaume
Message:

singleton manager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairCore/src/FrameworkManager_impl.cpp

    r133 r137  
    204204void FrameworkManager_impl::SetupConnection(string address, uint16_t port,Time watchdogTimeout,
    205205                                            size_t rcv_buf_size) {
    206   UDT::startup();
     206  if (com != NULL) {
     207    Err("SetupConnection should be called only one time\n");
     208    return;
     209  }
     210                                                                                                                                                                                       
     211        UDT::startup();
    207212  this->rcv_buf_size = rcv_buf_size;
    208213
Note: See TracChangeset for help on using the changeset viewer.