|
-
August 16th, 1999, 04:56 PM
#1
Accessing aother processes Sockets
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|