[LIP] Fork and thread

Shijithlal <[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
I am creating a Unix based application which consist of a TCP Server
part. I am creating my aplicationa as a daemon.
In most of the examples I looked at contains the usage of
"fork()" when a new client request received at the server side. May I
can use thread instaed of this fork. If possible which one is more
better and why?.

Actually I am develping the application in Linux and I want to port
the application to other Unix flavours.

When i am seraching o net, I found a word from one programmer that, a
thread calling fork may create problem. Is it correct??

Please comment your suggestions nad opinions..


--
Shijithlal L V
Fischer Systems India
224 NILA Technopark
Trivandrum 695581
INDIA

Ph:  91 471 2527427
Cell: 91 9349100636
email: [email protected],[email protected]


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
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.