1
0
mirror of https://gitlab.com/obbart/universal_robots_ros_driver.git synced 2026-07-09 09:21:10 +02:00

Added set options function for sockets

This commit is contained in:
Simon Rasmussen
2017-05-19 01:22:42 +02:00
parent 8d845c6f38
commit 0c23d0bf3d
5 changed files with 19 additions and 1 deletions
+2
View File
@@ -20,6 +20,8 @@ protected:
{
return ::bind(socket_fd, address, address_len) == 0;
}
virtual void setOptions(int socket_fd);
public:
URServer(int port);
+1 -1
View File
@@ -32,7 +32,7 @@ public:
}
void disconnect()
{
LOG_INFO("Disconnecting");
LOG_INFO("Disconnecting from %s:%d", host_.c_str(), port_);
TCPSocket::close();
}