The client should not send the memory address to the server, period. If the client needs a link to the server’s resources, the server must provide it with some kind of descriptor that the server can translate to an address, but which is not dereferenced.
In your case, rebooting the server probably made the client call invalid. The server should notice this and return a well-understood error code to the client telling it to get a new resource descriptor.
source share