sedymrak wrote:

[socket.zip](https://github.com/user-attachments/files/29642798/socket.zip)
This project shows that what is described in Win32 API documentation can happen 
in real life.
The `::recv` call in the TCP client can fail (i.e. return value `-1`) when the 
buffer is (accidentally) empty.
The binaries can be built on Windows as follows:
```
cmake -S . -B build
cmake --build build
```
Then they can be run (e.g. in `cmd.exe` as:
```
build\Debug\server.exe
```
in one `cmd.exe` terminal and:
```
build\Debug\client.exe
```
in the other `cmd.exe` terminal.

https://github.com/llvm/llvm-project/pull/207426
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to