Search found 238 matches

by jarl
Thu Jan 17, 2019 9:52 am
Forum: Support - RCF
Topic: separate threadPool for some service
Replies: 1
Views: 8094

Re: separate threadPool for some service

Hi, You can use asynchronous dispatching to process remote calls on thread pools that you manage yourself: http://www.deltavsoft.com/doc/_async_remote_calls.html#ServerSideAsync Another option is to run your low priority and high priority services on different ports, that way you can assign differen...
by jarl
Sun Jan 06, 2019 9:51 am
Forum: Support - RCF
Topic: RCF Subscription auto reconnect
Replies: 2
Views: 8936

Re: RCF Subscription auto reconnect

Hi, It looks like there is a problem with how you are binding parameters with boost::bind. When you bind like this: boost::bind(&onSubscriptionDisconnected, boost::placeholders::_1, ptr, pSrv, pPrinter, pEndPoint) , onSubscriptionDisconnected() will get a copy of ptr, not a reference to it. If you w...
by jarl
Sun Jan 06, 2019 9:39 am
Forum: Support - RCF
Topic: Proxy endpoint feature unavailable
Replies: 1
Views: 7408

Re: Proxy endpoint feature unavailable

Hi there, The proxy endpoint feature is new in RCF 3.0, and replaces the "callback connection" concept that existed in RCF 2.2. So code that would have used "callback connections" in RCF 2.2, should now use proxy endpoints. As you've noticed the proxy server is currently only able to be used by RcfC...
by jarl
Sat Dec 08, 2018 11:57 am
Forum: Support - RCF
Topic: Multiple outstanding calls using Asynchronous RCF?
Replies: 6
Views: 14504

Re: Multiple outstanding calls using Asynchronous RCF?

Yep, I'm aiming to get that fixed as well. It is pretty much the same issue.
by jarl
Fri Dec 07, 2018 12:01 pm
Forum: Support - RCF
Topic: Multiple outstanding calls using Asynchronous RCF?
Replies: 6
Views: 14504

Re: Multiple outstanding calls using Asynchronous RCF?

Hi Jeremy, The use case with the load balancers is quite convincing - thanks for bringing that up. I think we definitely need to fix this. What I will do is make this the top priority feature for the next release. Once I start working on it I will be in a better place to determine if there are any s...
by jarl
Thu Sep 06, 2018 10:22 am
Forum: Support - RCF
Topic: Building RCF Static Library with Visual Studio 2017
Replies: 1
Views: 8589

Re: Building RCF Static Library with Visual Studio 2017

I'm unable to reproduce this on my machine, but in any case if you change the code in Schannel.cpp to this, you should be fine:

Code: Select all

        SECURITY_STATUS status = getSft()->AcquireCredentialsHandle(
            NULL,
            (SEC_CHAR *) UNISP_NAME,
by jarl
Fri Jul 20, 2018 3:41 pm
Forum: Support - RCF
Topic: Boost 1.65 and RCF 2.2.0.0
Replies: 1
Views: 7850

Re: Boost 1.65 and RCF 2.2.0.0

New Boost versions are normally not a problem, so I would just download it and see if it builds.

If there are any issues they are probably easy to resolve.
by jarl
Fri Jul 13, 2018 7:56 pm
Forum: Support - RCF
Topic: Client concurrency
Replies: 1
Views: 7590

Re: Client concurrency

Hi,

There isn't a connection pool concept in RCF but in this case I think the simplest solution might be to use a thread local variable to hold a RcfClient<> instance, and that way each thread that calls in gets its own connection.
by jarl
Fri Jul 13, 2018 7:56 pm
Forum: Support - RCF
Topic: RCF & Unix domain Socket between versions RCF-2.0.0.2685 and RCF-2.0.1.100
Replies: 7
Views: 13912

Re: RCF & Unix domain Socket between versions RCF-2.0.0.2685 and RCF-2.0.1.100

Hi, Sorry for the late response. I'm currently traveling and have unreliable internet access. The change to asynchronous I/O for pub/sub is probably what's causing the exception you're getting. Can you try configuring a thread pool for the RcfServer that is doing the publishing? I don't have the cod...