<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><blockquote><div dir="ltr"><div><div><div>One of the sources of a badarg in that function is if the port driver doesn't set the ERL_DRV_FLAG_SOFT_BUSY flag (see <a href="http://erlang.org/doc/man/driver_entry.html#driver_flags">http://erlang.org/doc/man/driver_entry.html#driver_flags</a>). The SCTP driver doesn't set this, so in the link to the code you sent, I'm guessing it fails here: <a href="https://github.com/erlang/otp/blob/maint/erts/emulator/beam/dist.c#L2772">https://github.com/erlang/otp/blob/maint/erts/emulator/beam/dist.c#L2772</a><br></div>
</div>
</div>
</div>
</blockquote><div> </div>
<div>Ah, thanks!<br></div>
<div> </div>
<div>But crap... this means SCTP (at least with the provided driver) can't be used for distribution? A custom driver is required? Assuming there isn't something about SCTP itself that makes this problematic?<br></div>
</body>
</html>