Because when then forked process exit, it will close the connection it copied, which is the same connection its parent process is using, this may interrupt the parent process.
因为当时的分叉进程退出,它将关闭它的复制连接,这是相同的连接它的父进程正在使用,这可能会中断进程的父进程。
3 what's happen with the connection when the forked process ends? Should I close it? Or does it close automatically? And what's append to the father's process connection?
3什么是发生在连接时的分叉过程结束?我要关闭它?还是自动关闭?什么是追加到父的过程连接?
应用推荐