Re: Check for activity on TCP port
- From: Sir C4 <Vagyok.C4@xxxxxxxxx>
- Date: 12 May 2007 14:44:31 -0700
On May 12, 2:24 pm, Michael Nemtsev <nemt...@xxxxxxx> wrote:
Hello Sir,
See this C# snifferhttp://www.c-sharpcorner.com/UploadFile/leonidmolochniy/SimpleSniffer...
---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog:http://spaces.live.com/laflour
Team blog:http://devkids.blogspot.com/
Thanks for the quick response. That example was not the most
complete / easy to follow example :(
Let me clarify my request a little. I can get an array of tcp
listeners via the following code:
IPGlobalProperties.GetIPGlobalProperties();
IPEndPoint[] endPoints = properties.GetActiveTcpListeners();
I'm looking for an event that will fire once a tcp port moves from the
listening status to established status. I want this to run as a
service so I don't want it to chew up cycles constantly checking for a
specific port to move form listening to established that's why I ask
for an event. Basically I want to execute some code once the port
moves from listening to established, and then run some clean up code
once it moves from established back to listening.
.
- Follow-Ups:
- Re: Check for activity on TCP port
- From: Peter Duniho
- Re: Check for activity on TCP port
- References:
- Check for activity on TCP port
- From: Sir C4
- Re: Check for activity on TCP port
- From: Michael Nemtsev
- Check for activity on TCP port
- Prev by Date: Re: please recommend c# and asp books
- Next by Date: Re: Reading a file byte by byte
- Previous by thread: Re: Check for activity on TCP port
- Next by thread: Re: Check for activity on TCP port
- Index(es):
Relevant Pages
|