Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.

Commit 6f556c9

Browse files
committed
refactor: Remove simple DoIP server example and add warning to client code
1 parent 8953ada commit 6f556c9

3 files changed

Lines changed: 4 additions & 149 deletions

File tree

examples/CMakeLists.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,6 @@ set_target_properties(exampleDoIPClient PROPERTIES
2929
CXX_EXTENSIONS OFF
3030
)
3131

32-
# Simple DoIP Server Example (using high-level API)
33-
add_executable(exampleDoIPServerSimple exampleDoIPServerSimple.cpp)
34-
target_link_libraries(exampleDoIPServerSimple
35-
PRIVATE
36-
${DOIP_NAME}
37-
Threads::Threads
38-
)
39-
4032
# Set properties for the simple server example
4133
set_target_properties(exampleDoIPServerSimple PROPERTIES
4234
CXX_STANDARD 17

examples/exampleDoIPClient.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ static void printUsage(const char *progName) {
2020
}
2121

2222
int main(int argc, char *argv[]) {
23+
std::cerr << "The client code does not work currently - use at your own risk!\n";
24+
// remove this line for enabling the client anyway
25+
return EXIT_FAILURE;
26+
2327
string serverAddress = "224.0.0.2"; // Default multicast address
2428

2529
// Parse command line arguments

examples/exampleDoIPServerSimple.cpp

Lines changed: 0 additions & 141 deletions
This file was deleted.

0 commit comments

Comments
 (0)