1
0
mirror of synced 2025-04-19 00:24:02 +03:00

Fixed documentation about Unix Domain Sockt (#2066)

This commit is contained in:
yhirose 2025-02-18 11:40:50 -05:00
parent 321a86d9f2
commit dda2e007a0

View File

@ -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