[erlang-questions] gen_tcp:transfer_ownership of socket to another node?

Tony Rogvall tony@REDACTED
Fri Jan 23 10:24:22 CET 2009

Have you tried it?


On 23 jan 2009, at 09.46, Thijs Terlouw wrote:

> What happens when I accept a new TCP connection (in processA) and  
> then transfer the ownership of that socket from processA to processB  
> which is running on another Erlang node(B)? I assume that Beam then  
> keeps 'something' running on the original node(A) to keep the  
> connection open, even if processA is killed?
> That way i would be able to send data to the socket from processB  
> after processA is killed? The data would then be copied from one VM  
> to another VM (because the socket cannot move of course)?
> Is this correct?
> Thijs Terlouw - China
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions

More information about the erlang-questions mailing list