kahotv
kahotv
UDP协议本身是支持0长度UDP包的,且我在工作中踩到过这个坑。 测试发现udp_echo_server.c不能收到0长度的UDP包,希望能支持一下,感谢!
file: throttling_proxy.cpp build : vs2022,Release,x86,WinSDK10.0.22621.0,C++ latest asio:1.30.2 see https://github.com/kahotv/crush_destroy_coro_3.git crash when using /Ob2 and /Od Will not crash when using /Ob2 and /O2 1. run ProxyServer.exe(examples\cpp20\coroutines\echo_server.cpp) 2. run ConnectClient.exe 
In C#, there is a method like this (pseudo code): ```c# class NetworkStream : Stream { ... } class SslStream : AuthenticatedStream { ... } class AuthenticatedStream : Stream {...
When using `coro`, the return type is not the expected `variant`, but actually `int`. see https://think-async.com/Asio/asio-1.30.2/doc/asio/overview/composition/coro.html#asio.overview.composition.coro.result version 1.30.2 ```bash PS D:\workspace\git\vcpkg> .\vcpkg.exe list ... asio:x86-windows-static 1.30.2 ``` ## code ```cpp...
#46 In MSVC, the `__cplusplus` macro cannot be used directly. You need to manually add the `/Zc:__cplusplus` option, otherwise, `__cplusplus` will always be `199711L`. I found the method used by...
When tool "protobuf decode" encounters a parsing error, display at which byte the error occurred.
tcp server : echo_server.cpp build : vs2022,Release,x86,WinSDK10.0.22621.0, /std:c++20 asio : SHA-1: https://github.com/chriskohlhoff/asio/commit/ed6aa8a13d51dfc6c00ae453fc9fb7df5d6ea963 asio version 1.34.2 released crash when using /Ob2 and /Od Will not crash when using /Ob2 and /O2...