Re: sys_fork

Claudio Fontana <[email protected]>
Newsgroups org.kernel.vger.linux-assembly
Message-ID <[email protected]>
--- HIToC <[email protected]> ha scritto: 

> Hello list,
> 	I have written a small echo program that listen for
> a TCP
> incoming connection on a port, then send all data
> received.
> 
> This program can accept only a session at time: I
> would to
> handle multiple connections using fork(),

also consider using select(2), which is syscall 82 or
poll (kernel 2.2+) which is 168 for descriptor
multiplexing to avoid process creation overhead.

> but in assembly this
> way is little difficult!
> How to hold the controll over the child genereted?
> 
> Can anyone help me?
> Thanks for every suggestion.

Bye,

CLaudio



	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.