>
Eranga, Your problem is that you have copied my (copyrighted) code written for use with erlang:port_call/3 and reused it with erlang:port_control/3. The difference between the two is that port_call/3 uses the external term format as encoded by the ei library while port_control/3 uses the driver binary format. -Vance Motivity Telecom Inc. +1 519 240 3684![]()