soliday
August 16th, 1999, 04:56 PM
s it possible to 1) Obtain a handle to another applications Socket (CSocket, CAsysncSocket), 2) attach it to a pointer, and manipulate the socket.
The reason for this madness, Under certain circumstances, a loss of network connection is not detected under FoxPro when performing operations against remote db.
I figure, the Parent app for the FoxPro App, can ping the server, that way we know if it is no longer reachable. At that point I will call function(s) created with MFC
to resolve the problem. If I could get a handle to the port in question, I can post a message top the port, fooling it into believing there was a time out, or some other
error.
Thanks Mike
The reason for this madness, Under certain circumstances, a loss of network connection is not detected under FoxPro when performing operations against remote db.
I figure, the Parent app for the FoxPro App, can ping the server, that way we know if it is no longer reachable. At that point I will call function(s) created with MFC
to resolve the problem. If I could get a handle to the port in question, I can post a message top the port, fooling it into believing there was a time out, or some other
error.
Thanks Mike