From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailstore.rnibncw.ac.uk ([212.219.113.195]) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1FO9nv-0002fv-00 for ; Tue, 28 Mar 2006 03:43:55 -0500 Received: from sparky ([192.168.0.115]) by mailstore.rnibncw.ac.uk with Microsoft SMTPSVC(6.0.3790.1830); Tue, 28 Mar 2006 09:43:47 +0100 Message-ID: <003201c65243$bdb41520$7300a8c0@sparky> From: "Chris Norman" To: "Speakup is a screen review system for Linux." References: <000b01c651c0$03bbae40$9c21ae48@dataplus4puarg> Subject: Re: executing code under a child process and another tcp question Date: Tue, 28 Mar 2006 09:43:52 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-OriginalArrivalTime: 28 Mar 2006 08:43:47.0262 (UTC) FILETIME=[BA8B5DE0:01C65243] X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.7 Precedence: list Reply-To: Chris Norman , "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Mar 2006 08:43:55 -0000 I don't know about code execution, but if you want a really "worryingly" good network sniffer, get NGREP. HTH, Chris Norman ----- Original Message ----- From: "tyler" To: "Speakup is a screen review system for Linux." Sent: Monday, March 27, 2006 6:00 PM Subject: executing code under a child process and another tcp question > Hello everyone,, > Though these questions may bwe boardering on the relm of programming, I > wasn't really sure where else to ask them, I am aware of the > blindprogramming list, but don't like to sign up to lists with high > traffic > like that one, because sometimes its hard for me to check my email, and > when > I get back (just from being on the blindgamers list, and the three lists > owned by the same organization as the programming@blindprogramming) after > not reading email for like 4 days, I had over 700 emails. > Anyway, I have a couple questions, > I read up on fork, and found that it isn't just something used to eat your > food with, but you can spawn other processes with it. > But, my main idea was a pipe, I wanted to spawn a child process, and > create > a pipe to it, so I read up on pipes to. > The only thing I have been able to find is how to get my process to > execute > shell commands, > Do I have to stick to shell commands, or can I actually switch execution > between child and parent. > Also, how do I get the pid of the parent process? > Last, I want to start playing with TCP. > If I send in the raw mode, can I just send a struct as a packet? > If so, that will only take me reading up on how packetts are formed (I > know > the basics) but not the exact ways, and then I can just create a struct to > represent a packet, and send it to where ever I wish. I also as a little > example wish to create a ping program, and a port scanner, I can do the > port > scanner fairly easy I think, with minimal research, but what does the ping > program do? I haven't been able to figure that one out, and I have used > numerous packett sniffers. > Things just look garbled. > Thanks for your help, > > > Tyler Littlefield. > Check out our website: > http://tysplace.the-leetest.net > check out my blog: > livejournal.com/~tylerrl > [my programs don't have bugs, just randomly added features] > [failure is not an option, it comes bundled with windows!] > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup