From 903b23ea5a9c275231603415aeaf96212a775adb Mon Sep 17 00:00:00 2001 From: yhirose Date: Fri, 9 Nov 2018 23:30:58 -0500 Subject: [PATCH] Updated README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 16f8be5..9e106a7 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ int main(void) ### Bind a socket to multiple interfaces and any available port ```cpp -svr.bind_to_any_port("0.0.0.0"); +int port = svr.bind_to_any_port("0.0.0.0"); svr.listen_after_bind(); ```