Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

Welcome, Guest
Guest Settings

Thread: Close datasnap client socket

This question is not answered. Helpful answers available: 2. Correct answers available: 1.

Permlink Replies: 0
Robert Björkman

Posts: 7
Registered: 10/1/11
Close datasnap client socket  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 25, 2015 11:51 AM

I'm wondering if anyone has an idea how to close the datasnap client socket from the client.

All my datasnap calls are made from a thread separate from the main thread, but sometimes the datasnap thread fails and wont return, from debugging it seems like it's waiting somewhere in Indy-land on some blocking select or recv call.

So my question is, can I get a hold of the socket on the client-side to close it, because closing the server does not do the trick, closing the TSQLConnection or TDBXconnection also does no difference in this state.

Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02