mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-12 14:11:39 +00:00
Updated README
This commit is contained in:
parent
bfd354e695
commit
903b23ea5a
@ -37,7 +37,7 @@ int main(void)
|
|||||||
### Bind a socket to multiple interfaces and any available port
|
### Bind a socket to multiple interfaces and any available port
|
||||||
|
|
||||||
```cpp
|
```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();
|
svr.listen_after_bind();
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user