Showing posts with label erlang. Show all posts
Showing posts with label erlang. Show all posts

Wednesday, February 10, 2010

Erlang, port_control, linked-in driver and badarg

port_control function may return badarg if control function (implemented in linked-in driver) returns value which not equals number of bytes filled in rbuf.

Monday, December 28, 2009

How to connect to erlang node on remote machine

I'm very new in Erlang node and just studing it.
I have some trouble with connecting Erlang nodes on remote machine. And I found following solution:
Erlang (or erlang shell) should be started with same cookie on remote machines, i.e.:

erl -name node1 -setcookie my-cookie
erl -name node2 -setcookie my-cookie