G
Guest
Hi!
Our application connects to a sql server on the LAN via the host computer
using activesync. We use TcpClient to get a connection to the server.Once in
a while, with no consistent pattern, we get socket exception with a message
"Connection refused. No connection could be made because the target computer
actively refused it." The only way to resolve this is to undock and dock the
device again. This seems to work.
Is there a way that device can be disconnected and then reconnected to the
host computer through activesync? Are there any API calls that might do that?
If anyone has any input on this, please share your suggestions.
Thank you for your time.
Regards,
Raj
Our application connects to a sql server on the LAN via the host computer
using activesync. We use TcpClient to get a connection to the server.Once in
a while, with no consistent pattern, we get socket exception with a message
"Connection refused. No connection could be made because the target computer
actively refused it." The only way to resolve this is to undock and dock the
device again. This seems to work.
Is there a way that device can be disconnected and then reconnected to the
host computer through activesync? Are there any API calls that might do that?
If anyone has any input on this, please share your suggestions.
Thank you for your time.
Regards,
Raj