extract and use common socketConnect method and apply timeout on device connect (potential fix for #594)

This commit is contained in:
John
2022-09-18 12:01:29 +02:00
parent 5eb0a47183
commit cf9d0cc030
6 changed files with 92 additions and 105 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ include_directories(intelhex)
add_executable(ebusctl ${ebusctl_SOURCES})
add_executable(ebuspicloader ${ebuspicloader_SOURCES})
target_link_libraries(ebusctl utils ebus ${LIB_ARGP} ${ebusctl_LIBS})
target_link_libraries(ebuspicloader ${LIB_ARGP})
target_link_libraries(ebuspicloader utils ${LIB_ARGP} ${ebuspicloader_LIBS})
if(WITH_EBUSFEED)
set(ebusfeed_SOURCES ebusfeed.cpp)