diff options
author | Fedor Indutny <fedor@indutny.com> | 2016-05-27 12:24:23 -0400 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2016-05-27 12:24:23 -0400 |
commit | 3da1ffa8ea70749c616301e75c43911fd5155de4 (patch) | |
tree | 49f69f9f75b49f60ea584c1f5b5713d82fbe7925 /example/src/main.c | |
parent | 6274a92d51ad9d4ffcf697744de0f052200595b5 (diff) | |
download | uv_link_t-3da1ffa8ea70749c616301e75c43911fd5155de4.tar.gz |
example: make
Diffstat (limited to 'example/src/main.c')
-rw-r--r-- | example/src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/example/src/main.c b/example/src/main.c index 4fa570f..01d0447 100644 --- a/example/src/main.c +++ b/example/src/main.c @@ -90,6 +90,8 @@ int main() { err = uv_tcp_bind(&server, (struct sockaddr*) &addr, 0); assert(err == 0); + fprintf(stderr, "Listening on 0.0.0.0:9000\n"); + err = uv_listen((uv_stream_t*) &server, kBacklog, connection_cb); err = uv_run(loop, UV_RUN_DEFAULT); |