networking thru C language

2012-05-02 Thread abdelkader belahcene
 Hi,
I am new to  networking  via C language I want to implemente   a command of
nmap
this one ( or another , any one just to see how it works)


nmap -O -v scanme.nmap.org

thanks a lot
best regards


Re: networking thru C language

2012-05-02 Thread Alberto Luaces
abdelkader belahcene writes:

 Hi,
 I am new to  networking  via C language I want to implemente   a command of 
 nmap
 this one ( or another , any one just to see how it works)

 nmap -O -v scanme.nmap.org

This is pretty complicated for a begginer in networking; however, I'd
suggest to compile nmap from source with debug information and run it
with a debugger in order to be able to see the sequence of library calls
and its parameters.

Another option which doesn't require recompiling is to trace nmap system
calls with strace command.

Regards,

-- 
Alberto


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87mx5qpzlk@eps142.cdf.udc.es