diff options
author | dimitri staessens <[email protected]> | 2016-04-21 08:03:21 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-04-21 08:04:51 +0200 |
commit | 18c5da3a77fd736c45730d562e35c4957269ebe3 (patch) | |
tree | 16498a36877f2b5d9ca96f1d189689ef9a8b9023 /src/tools/echo | |
parent | ad99455aa38171c28705a7e9b002b53168dc8ff0 (diff) | |
download | ouroboros-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.c | 3 |
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; } |