How to handle callback functions using port control

Niranjan Gunasekera <>
Tue Dec 27 12:42:17 CET 2005

    Is it possible to send an asynchronous callback function event from c language to erlang using erlang port control?
If so how can we acheive it?

(I have called a c function through erlang port control. But it is a asynchronous callback function. So I need to send the c function finish event back to the erlang. How can I achieve this? Can I use driver_event function? If so how?)

Niranjan Gunasekera
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the erlang-questions mailing list