Search found 5 matches

by cinsk
Thu Jun 13, 2013 1:08 am
Forum: Support - RCF
Topic: How to close(disconnect) client from the server side?
Replies: 2
Views: 5443

Re: How to close(disconnect) client from the server side?

If I add more,

I want, when the server decided to, the server need to forcefully disconnect the client so that
2 TCP connection should be released.

Thanks.
by cinsk
Thu Jun 13, 2013 1:01 am
Forum: Support - RCF
Topic: How to close(disconnect) client from the server side?
Replies: 2
Views: 5443

How to close(disconnect) client from the server side?

My server application uses RCF client callbacks. (I believe that in this case, there is 2 TCP connection provided that I use TCP transport.) sometimes, when the client calls server-side method, the server need to disconnect the client (if the server decided to). Is there anyway to forcefully disconn...
by cinsk
Thu May 02, 2013 1:06 am
Forum: Support - RCF
Topic: Session Object does not exist after RCF::createCallbackConne
Replies: 3
Views: 8037

Re: Session Object does not exist after RCF::createCallbackC

What's happening is that when RCF::createCallbackConnection() is called, the network connection is removed from the RcfClient<> object, and taken over by the RcfServer. When you make a subsequent call on the same RcfClient<> object, a new network connection is created. Because the second call is us...
by cinsk
Fri Apr 19, 2013 7:40 am
Forum: Support - RCF
Topic: Cancel long-term RCF functions.
Replies: 1
Views: 4922

Cancel long-term RCF functions.

Hi, In our client/server designs, the server will expose a function process(), which may takes significant times. In server-side, process() will allocated some external resources and doing time-consuming job, and release the resources, and report the result back to the client. One of our requirement...
by cinsk
Mon Mar 18, 2013 6:38 pm
Forum: Support - RCF
Topic: Possible memory leak on thread pool
Replies: 1
Views: 4872

Possible memory leak on thread pool

On 64-bit Linux machine (the Linux has boost 1.49, though), I just modified the demo server, Server.cpp, to increase the thread pool. Then I ran Server and ran Client multiple times. int main() { RCF::RcfInitDeinit rcfInit; // Start a TCP server on port 50001, and expose MyServiceImpl. MyServiceImpl...