mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 17:28:29 +00:00
Updated README
This commit is contained in:
parent
bfd354e695
commit
903b23ea5a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue