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.
Search found 5 matches
- Thu Jun 13, 2013 1:08 am
- Forum: Support - RCF
- Topic: How to close(disconnect) client from the server side?
- Replies: 2
- Views: 7211
- Thu Jun 13, 2013 1:01 am
- Forum: Support - RCF
- Topic: How to close(disconnect) client from the server side?
- Replies: 2
- Views: 7211
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...
- Thu May 02, 2013 1:06 am
- Forum: Support - RCF
- Topic: Session Object does not exist after RCF::createCallbackConne
- Replies: 3
- Views: 10158
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...
- Fri Apr 19, 2013 7:40 am
- Forum: Support - RCF
- Topic: Cancel long-term RCF functions.
- Replies: 1
- Views: 6231
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...
- Mon Mar 18, 2013 6:38 pm
- Forum: Support - RCF
- Topic: Possible memory leak on thread pool
- Replies: 1
- Views: 5999
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...