reloading a linked in driver

Vance Shipley <>
Mon Feb 5 21:03:32 CET 2001


I found that NOT loading the driver again worked:

3> port_control(Port, 2, <<0>>).
"bar"

Now copy new version of foo_drv.so over top of the old one.

4> port_control(Port, 2, <<0>>).
"foobar"


I'm happy now, although there is still much magic involved
for me as I don't quite understand what is going on here. :)

	-Vance



More information about the erlang-questions mailing list