PDA

Click to See Complete Forum and Search --> : Yes its me again! :) TCP incomming connections...


invitro
Feb 6th, 2000, 09:33 AM
Thanks for all the help people, i have one more question regarding TCP.
Hopefully im not the only one getting something out of this! :)

Is there any way to know instantly if there is an connection that wants to connect to your computer? Lets say, if someone is connecting on port 101, is there any way you can know that someone is requesting a connection on that port? Maybe some API or something? (Netstat is to slow and it has to refresh all the time).
:D

privoli
Feb 7th, 2000, 01:29 PM
The only way that I know of is...

Open the port, when the port gets open send a message or show some msgbox etc.. but you need to open the port first, so if you want say who connects on port 139 or an alreay open port, it wont work

------------------
Regards,

Paul Rivoli
-------------------
privoli@bigpond.com
http://users.bigpond.com/privoli

invitro
Feb 9th, 2000, 07:56 AM
Thanks for the reply! I already did that though, i wonder if there is an API function to know that.