瀏覽代碼

Updated README. fix #102

yhirose 7 年之前
父節點
當前提交
bfd354e695
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      README.md

+ 7 - 0
README.md

@@ -34,6 +34,13 @@ int main(void)
 
 `Post`, `Put`, `Delete` and `Options` methods are also supported.
 
+### Bind a socket to multiple interfaces and any available port
+
+```cpp
+svr.bind_to_any_port("0.0.0.0");
+svr.listen_after_bind();
+```
+
 ### Method Chain
 
 ```cpp