The ultimate socket library for C and C++, supporting TCP, UDP and Unix sockets (DGRAM and STREAM) on Linux, FreeBSD, Solaris. See also my uvco library for a refreshed version!
add package.xml so catkin (http://wiki.ros.org/catkin) can find this package. Use the following to link to the library:
target_link_libraries(my_lib ${CATKIN_DEVEL_PREFIX}/lib/libsocket++.so)
Its not perfect, it needs the following improvements:
The CPackConfig.cmake files end up in the build directory (should be in the devel). I think this may be an issue with CPack not working well with catkin.
The target_link_libraries reference to libsocket++.so should look more like:
target_link_libraries(my_lib ${libsocket_LIBRARIES})
add package.xml so catkin (http://wiki.ros.org/catkin) can find this package. Use the following to link to the library: target_link_libraries(my_lib ${CATKIN_DEVEL_PREFIX}/lib/libsocket++.so)
Its not perfect, it needs the following improvements: