Browse Source

Updated README

yhirose 7 years ago
parent
commit
903b23ea5a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README.md

+ 1 - 1
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();
 ```