1
0
mirror of https://gitlab.com/obbart/universal_robots_ros_driver.git synced 2026-04-12 11:00:47 +02:00

use rtde interface to query control pc's IP

This commit is contained in:
Felix Mauch
2019-07-16 11:21:09 +02:00
parent 7dd9bc0c55
commit 4a953be4a4
5 changed files with 15 additions and 8 deletions

View File

@@ -125,7 +125,7 @@ void TCPSocket::close()
socket_fd_ = -1;
}
std::string TCPSocket::getIP()
std::string TCPSocket::getIP() const
{
sockaddr_in name;
socklen_t len = sizeof(name);