mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-10 10:00:48 +02:00
Fixed SO_REUSEADDR being set after bind rather than before
This commit is contained in:
@@ -15,11 +15,7 @@ private:
|
||||
TCPSocket client_;
|
||||
|
||||
protected:
|
||||
virtual bool open(int socket_fd, struct sockaddr *address, size_t address_len)
|
||||
{
|
||||
return ::bind(socket_fd, address, address_len) == 0;
|
||||
}
|
||||
virtual void setOptions(int socket_fd);
|
||||
virtual bool open(int socket_fd, struct sockaddr *address, size_t address_len);
|
||||
|
||||
public:
|
||||
URServer(int port);
|
||||
|
||||
Reference in New Issue
Block a user