Author: Erik Rigtorp <erik>
Date: Wed Mar 10 16:39:22 2010 +0100
Add function to decode distribution header
There is currently no way to use erl_interface with non-blocking
sockets. This patch adds a function ei_decode_header() that can decode
the distribution header of a message sent to a C-node. This will allow a
C-node to receive messages using an asynchronous event loop.
Next step is to add a ei_send() function that would write to a supplied buffer.