Computer Science, asked by Palandr5364, 1 year ago

If same socket is used by different threads will the file descriptoor chnage?

Answers

Answered by Anonymous
2
HEY MATE!!! ❤❤❤HERE'S UR ANSWER!!!❤❤❤


No. Threads share the same memory, so they share the same variables. If you close socket in parent thread, it will be also closed in child thread.


HOPE THIS HELPS YOU!!! ❤❤❤
Similar questions