4 ms·
What's the benefit of a port driver over a NIF?
by OkayPhysicist 4y ago
What's the benefit of a port driver over a NIF?
- toast0 4y agoA port driver can participate in the BEAM event loop, adding filehandles that get called back when they're ready. It's a more appropriate choice for something that's asynchronous, although NIFs do have ways to fill the same role. A port driver would probably be a better choice for specalty networking that ERTS doesn't provide (raw packets? netgraph, etc).