buttonrpc_cpp14 icon indicating copy to clipboard operation
buttonrpc_cpp14 copied to clipboard

几百行代码实现的modern c++ rpc library

Results 7 buttonrpc_cpp14 issues
Sort by recently updated
recently updated
newest added

vs2019环境,报错Run-Time Check Failure #2 stack around the variable 'val' was corrupted。不知道是什么原因

请问提供大数据量传输吗

您好,我在mac上,通过clion运行该程序。Server中函数执行正常 但是client执行的时候 在这一句报错。 ![image](https://user-images.githubusercontent.com/37905059/134769304-a29519b1-ea10-4d55-b468-43982c08e715.png)

```cpp template inline void Serializer::output_type(T& t) { int len = sizeof(T); char* d = new char[len]; if (!m_iodevice.is_eof()){ memcpy(d, m_iodevice.current(), len); m_iodevice.offset(len); byte_orser(d, len); t = *reinterpret_cast(&d[0]); } delete []...

当多个客户端访问服务器的时候, 服务器是按照串行的方式来执行的.

我自己根据demo中传输struct结构数据的方式,修改传输cv::Mat 或std::vector类型的数据,发现是数据是减少,并且不可以用的。可以增加以下几种数据类型的使用吗? 1)cv::Mat (opencv图像库中图像信息存储的变量类型) 2)std::vector,及std::array, std::map等STL 数据类型的传输; 3)自定义存储数据是变长度的带有构造函数的数据类型吗? 非常感谢!!!

在使用example进行测试的过程中,client端没有正常终止,可能的问题是在buttonrpc.hpp中,显示实现析构函数中主动调用了m_context.close(),但在进行buttonrpc对象析构的过程中套接字资源没有释放导致m_context.close()产生了阻塞,去掉m_context.close()后client能够正常终止