Port driver memory free
Tue Mar 22 12:45:39 CET 2005
Only difference is call use external term format, so need to use
driver_alloc, but control doesn't so use driver_alloc_binary, Correct?
[mailto:] On Behalf Of Casper
Sent: Tuesday, March 22, 2005 5:03 PM
To: 'Vance Shipley'
Subject: RE: Port driver memory free
Regarding port_call and port_control, I think both can use ei library
functions to encode/decode terms, correct? If not, please advice how they've
I am sorry if I did something offending. But to my understanding the code I
published only carries a very generic Erlang-C port code. Even on the Erlang
manuals or samples, the same method is shown.
From: Vance Shipley [mailto:]
Sent: Tuesday, March 22, 2005 10:44 AM
Subject: Re: Port driver memory free
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.
Motivity Telecom Inc.
+1 519 240 3684
More information about the erlang-questions