Hello, Erlang team!<br>I try to send magic pack of wake on lan feature (<a href="http://en.wikipedia.org/wiki/Wake_on_lan">http://en.wikipedia.org/wiki/Wake_on_lan</a>) in erlang.<br><br>code below:<br>> {ok,S} = gen_udp:open(2025).<br>
{ok,#Port<0.275>}<br>> gen_udp:send(S, Pack).<br>{error,einval}<br>> gen_udp:close(S).<br><br>Pack is the magic packet.<br>i.e. I have an error in gen_udp:send(S, Pack). Please, help me.<br><br>PS: sorry for my english, I'm from Russia =)<br>