mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-10 01:50:46 +02:00
19 lines
295 B
C++
19 lines
295 B
C++
#pragma once
|
|
#include <netdb.h>
|
|
#include <sys/socket.h>
|
|
#include <sys/types.h>
|
|
#include <cstdlib>
|
|
#include <mutex>
|
|
#include <atomic>
|
|
#include <string>
|
|
#include "ur_modern_driver/ur/stream.h"
|
|
|
|
class URServer
|
|
{
|
|
private:
|
|
int socket_fd_ = -1;
|
|
|
|
public:
|
|
URServer(int port);
|
|
URStream accept();
|
|
}; |