Hi
When connection is establised and disconnected,
Is there connection/disconnection event callback at client side? or something?
Regards
Mr.Lim
How do I detect tcp connections, from client-side code?
Re: How do I detect tcp connections, from client-side code?
Hi
When will you give me the answer?
if you need more detail description, please let me know.
Thanks
When will you give me the answer?
if you need more detail description, please let me know.
Thanks
Re: How do I detect tcp connections, from client-side code?
Hi,
Apologies for missing your post - I usually get email notifications when posts are made but missed this one for some reason.
On the client side, there is generally not a callback for connecting or disconnecting. You can explicitly connect or disconnect a client:
If you have a longstanding connection to the server and you want to know at some point if it is still up, you'll need to ping it yourself.
If you can give me some more details of what you're trying to do, I can probably give you some tips.
Apologies for missing your post - I usually get email notifications when posts are made but missed this one for some reason.
On the client side, there is generally not a callback for connecting or disconnecting. You can explicitly connect or disconnect a client:
Code: Select all
RcfClient<...> client(...);
client.getClientStub().connect();
client.getClientStub().disconnect();
If you can give me some more details of what you're trying to do, I can probably give you some tips.