summaryrefslogtreecommitdiff
path: root/src/tools/echo
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2016-04-21 08:03:21 +0200
committerdimitri staessens <[email protected]>2016-04-21 08:04:51 +0200
commit18c5da3a77fd736c45730d562e35c4957269ebe3 (patch)
tree16498a36877f2b5d9ca96f1d189689ef9a8b9023 /src/tools/echo
parentad99455aa38171c28705a7e9b002b53168dc8ff0 (diff)
downloadouroboros-18c5da3a77fd736c45730d562e35c4957269ebe3.tar.gz
ouroboros-18c5da3a77fd736c45730d562e35c4957269ebe3.zip
irmd: application registration
Initial code for application registration. Specifying "*" will (for now) register with the first IPCP available in the system. Modified the echo server not to barf messages on failed accept()
Diffstat (limited to 'src/tools/echo')
-rw-r--r--src/tools/echo/echo_server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/echo/echo_server.c b/src/tools/echo/echo_server.c
index b1547d8c..d7099a2d 100644
--- a/src/tools/echo/echo_server.c
+++ b/src/tools/echo/echo_server.c
@@ -64,11 +64,12 @@ int server_main()
return -1;
}
+ printf("Echo server started...");
+
while (true) {
client_fd = flow_accept(server_fd,
client_name, NULL);
if (client_fd < 0) {
- printf("Failed to accept flow\n");
continue;
}