How can I detect weather or not I am connected to another users computer? (Through Winsock)
Printable View
How can I detect weather or not I am connected to another users computer? (Through Winsock)
Try by send another connection request. If it generate an error, that possibly meen your connection is already established. (Not sure at 100%)
Maybe you can scan the ports, and send something through each, and have the connected users program see that call, and send back something to remind you that your still connected.
and just how would i do that?
This is a fully documented winsock port scanner: http://www.planet-source-code.com/vb...txtCodeId=6956
Disregard this
[Edited by Sacofjoea on 07-08-2000 at 03:21 PM]