Socket end point is local kernel/tcp-ip resource. This can't be passed across the process address space. I think your idea is to provide High availability. You need to look for other mechanism for doing your objective.