Parcourir la source

Updated README

yhirose il y a 7 ans
Parent
commit
903b23ea5a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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();
 ```