Changeset 233 in flair-src for trunk/tools/VrpnBridge


Ignore:
Timestamp:
Mar 14, 2018, 5:17:08 PM (7 years ago)
Author:
Sanahuja Guillaume
Message:

vrpnbridge

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/VrpnBridge/src/main.cpp

    r232 r233  
    1717#include <stdlib.h>
    1818#include <signal.h>
     19#include <unistd.h>
    1920
    2021vrpn_Connection * server_connection;
     
    4041  int retval;
    4142
     43  //server_connection = vrpn_get_connection_by_name ("192.168.147.197:3883");
    4244  server_connection = vrpn_get_connection_by_name ("127.0.0.1:3883");
    4345  client_connection = vrpn_create_server_connection(3884);
     
    5658
    5759  while (1) {
     60    usleep(10000);
    5861    server_connection->mainloop();
    5962    client_connection->mainloop();
Note: See TracChangeset for help on using the changeset viewer.