[Mono-list] Portscanner School Project...Probably using System.Net class

Zaphod j0k3rin@yahoo.co.in
Fri, 23 Aug 2002 17:44:38 +0530

On Wed, Aug 21, 2002 at 01:45:40AM -0700, Erik C wrote:
> For school I have to write a network port scanner in a
> language of my choosing...in an effort to learn a new
> language I have chosen C#
> 1) How far along are System.Net and any other network
> classes?? 
> Will my project be a viable one if I tell my professor
> that I am committing to using your compiler?

To write a nice network port scanner you need packet level
access which C# does not provide ... (or so I understood)..
IIRC the `ACK Catcher' is the fastest scanning idea ...

Otherwise port scanning can be done using a worker pool of 
say 10 threads and a connect & try/catch to the port ...
This is a crude method ... IMHO ...

Or if you have an even better idea , enlighten us please ..