what is the difference between fork() & exec()
Answer Posted / nitin
fork() creates a child process with most of the attributes
of the parent process. Both parent and child processes are
executed simultaneously.
exec() replaces the current process with a the executable
pointed by the function. Control never returns to the
original program unless there is an exec() error.
| Is This Answer Correct ? | 89 Yes | 6 No |
Post New Answer View All Answers
how to get client port number in server socket programming??
What is the Use of the inet_makeaddr() Function?
How TCP/IP Handles Flow Control?
Are sockets full duplex?
What are sockets used for?
What is the difference between socket & port?
How TCP/IP Handles Lost Packets?
How to Bind Addresses to a Socket?
How to Choose a Socket Type?
How to read socket file in linux?
How to Bind a Specific Interface Address?
Why bind system call is required in socket programming?
How to Specify an X.25 Address?
How to look up a Service by Port and Protocol?
What are Anonymous Calls?