Search found 8 matches

by wulixue
Mon Oct 21, 2019 3:00 am
Forum: Support - RCF
Topic: How to use RCF to establish long TCP connection for binary data transmission?
Replies: 1
Views: 9130

How to use RCF to establish long TCP connection for binary data transmission?

HI.


For performance, throughput, and latency reasons, I want to do pure binary transmission, but not RPC based. Can it be implemented with RCF? If possible, what to do?
by wulixue
Tue Aug 06, 2019 8:05 am
Forum: Support - RCF
Topic: about socket no_delay
Replies: 1
Views: 9182

about socket no_delay

HI, I will use this lib to transfan video and voice , need socket with no_delay option, how to config this option. pls help us. thanks.
by wulixue
Fri Jan 04, 2019 7:07 am
Forum: Support - RCF
Topic: Proxy endpoint feature unavailable
Replies: 1
Views: 7408

Proxy endpoint feature unavailable

proxy server code: int main() { RCF::RcfInit rcfInit; std::string networkInterface = "0.0.0.0"; int port = 50001; std::cout << "Starting proxy server on " << networkInterface << ":" << port << "." << std::endl; RCF::RcfServer server(RCF::TcpEndpoint(networkInterface, port)); server.setEnableProxyEnd...
by wulixue
Sat Apr 23, 2016 4:33 pm
Forum: Support - RCF
Topic: publish/subscribe has a bug
Replies: 4
Views: 9667

Re: publish/subscribe has a bug

Start running normal, may be a problem after 30 minutes usually , random, uncertain in 30 minutes to 3 days. using memory analysis tools ,result no memory leak
by wulixue
Sat Apr 23, 2016 4:26 pm
Forum: Support - RCF
Topic: publish/subscribe has a bug
Replies: 4
Views: 9667

Re: publish/subscribe has a bug --code of subscriper

#pragma once #include <IDataPush.hpp> #include "DataService.h" class DataPushImpl { public: /**************************实现IDataPush接口*************************/ //高清数据推送API void push_hd_video_data(RCF::ByteBuffer &buffer) { hdVideoDataRecerver(buffer.getPtr(), buffer.getLength()); }; //标清数据推送API void ...
by wulixue
Sat Apr 23, 2016 4:22 pm
Forum: Support - RCF
Topic: publish/subscribe has a bug
Replies: 4
Views: 9667

Re: publish/subscribe has a bug-- code of publisher

//Define a interface //IDataPush.hpp #ifndef _IDATAPUSH_OF_SBZVMS_ #define _IDATAPUSH_OF_SBZVMS_ #include <boost/tuple/tuple.hpp> #include <RCF/RCF.hpp> #include <RCF/Idl.hpp> #include <SF/vector.hpp> #include <SF/tuple.hpp> #include <SF/list.hpp> RCF_BEGIN(IDATAPUSH_OF_SBZVMS, "IDATAPUSH_OF_SBZVMS"...
by wulixue
Sat Apr 23, 2016 11:00 am
Forum: Support - RCF
Topic: publish/subscribe has a bug
Replies: 4
Views: 9667

publish/subscribe has a bug

I found a bug when I was using publish/subscribe, The emergence of the problem is random, information:0xC0000008: An invalid handle error was specified. The problem is called class PublishCompletionInfo's function notifyCompletion() at the end of the call. Need to execute the unlock win_mutex (), an...
by wulixue
Sun Dec 20, 2015 6:43 pm
Forum: Support - RCF
Topic: Please provide an example of client JSON-RPC
Replies: 0
Views: 13566

Please provide an example of client JSON-RPC

HI, I have used guide JSON-RPC server example. // JSON-RPC.cpp 。 // #include "stdafx.h" #include <string> #include <RCF/RCF.hpp> #include <RCF/JsonRpc.hpp> #include <RCF/json_spirit.h> #include <SF/string.hpp> #include <iostream> #pragma comment(lib,"RCF.lib") RCF_BEGIN(I_HelloWorld, "I_HelloWorld")...