瀏覽代碼

Updated README

yhirose 7 年之前
父節點
當前提交
903b23ea5a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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();
 ```