[erlang-questions] net_kernel:handle_call

Vance Shipley <>
Mon Feb 22 16:21:26 CET 2010


The documented interface to net_kernel does not define a direct
use of gen_server:call/2 or a direct message passing interface.
The client and server sides of the program are implemented in 
the same module.  If the net_kernel server receives a message 
other than one it expects it is a programming error.

On Sun, Feb 21, 2010 at 05:43:02PM -0500,  wrote:
}  Your example is fine... but doesn't represent what is happening here.
}  Your code would cause the client to error... net_kernel, the server, is
}  dying in this case. We are talking about a major component of the
}  system which will bring down the entire system if you happen to send it
}  a message it doesn't understand.

-- 
	-Vance


More information about the erlang-questions mailing list