by rramadass · 4y ago · 0 comments
Nope. When a Process exits for whatever reason, the OS closes and releases all resources connected with all File/Socket descriptors for that Process.
You will have to architect your System to explicitly accommodate this scenario. Some techniques here : https://stackoverflow.com/questions/55006657/can-i-allow-my-...
You can send socket file handles over UNIX domain sockets, so you could use this to export your list of sockets to persist over restart.