net_kernel
net_kernel
Module
net_kernel
Module summary
Erlang Networking Kernel
Description
The net kernel is a system process, registered as net_kernel
, which must be running for distributed Erlang to work. The purpose of this process is to implement parts of the BIFs spawn/4
and spawn_link/4
, and to provide monitoring of the network.
An Erlang node is started using the command line flag -name
or -sname
:
$ erl -sname foobar
It is also possible to call net_kernel:start([foobar])
directly from the normal Erlang shell prompt:
1> net_kernel:start([foobar, shortnames]). {ok,<0.64.0>} (foobar@gringotts)2>
If the node is started with the command line