diff options
Diffstat (limited to 'src/tools/echo')
| -rw-r--r-- | src/tools/echo/echo_server.c | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/src/tools/echo/echo_server.c b/src/tools/echo/echo_server.c index e6ab9cfd..3106ee35 100644 --- a/src/tools/echo/echo_server.c +++ b/src/tools/echo/echo_server.c @@ -39,6 +39,11 @@ int server_main()          char   buf[BUF_SIZE];          ssize_t count = 0; +        if (api_bind(NULL) < 0) { +                printf("Failed to bind the server api."); +                return -1; +        } +          printf("Starting the server.\n");          /* Manual cleanup is required for now */ | 
