Results 1 to 3 of 3
Hello all you C gurus!
I would like to know if it is necessary to fork a main process in order to create a data connection. In many examples on ...
- 12-09-2008 #1Just Joined!
- Join Date
- Dec 2008
- Posts
- 10
Control connection and data connection for a FTP client question
Hello all you C gurus!
I would like to know if it is necessary to fork a main process in order to create a data connection. In many examples on the internet it is mentioned that the FTP client needs 2 processes to handle the proper transfer of information. It's well known that FTP has 2 connections but is it necessary to have them in different processes?
Many thanks for any kind of help!
- 12-09-2008 #2
Hello,
no, this is not necessary. Not even multiple threads are necessary.Debian GNU/Linux -- You know you want it.
- 12-09-2008 #3
If you want to avoid using multiple processes or threads, do this at the command line:
Code:man 2 select
--
Bill
Old age and treachery will overcome youth and skill.


Reply With Quote