Reputation: 2959
When I get a new file descriptor from accept() and fork a new process directly after that does the new process get the file descriptor? Second in the parent process can I close the descriptor or will this affect the child?
Upvotes: 2
Views: 131
Reputation: 11088
Upvotes: 3