mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-14 08:48:27 +00:00
Fixed documentation about Unix Domain Sockt (#2066)
This commit is contained in:
parent
321a86d9f2
commit
dda2e007a0
1 changed files with 1 additions and 1 deletions
|
@ -884,7 +884,7 @@ Unix Domain Socket support is available on Linux and macOS.
|
|||
|
||||
```c++
|
||||
// Server
|
||||
httplib::Server svr("./my-socket.sock");
|
||||
httplib::Server svr;
|
||||
svr.set_address_family(AF_UNIX).listen("./my-socket.sock", 80);
|
||||
|
||||
// Client
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue