<div dir="ltr">Hi, Yestin,<div><br></div><div>I recently implemented (write-only) IO-server in epgsql:</div><div><br></div><div><a href="https://github.com/epgsql/epgsql/pull/248/files#diff-bee3ee44dca8eaa3ab72727b8d11c695f2ae4dcf0a0534fc51323d0aaa1a3a9fR523-R550">https://github.com/epgsql/epgsql/pull/248/files#diff-bee3ee44dca8eaa3ab72727b8d11c695f2ae4dcf0a0534fc51323d0aaa1a3a9fR523-R550</a><br></div><div><br></div><div>I'd say it's quite easy task to do, the protocol itself is very compact and well documented and it has a complete example:</div><div><br></div><div><a href="https://erlang.org/doc/apps/stdlib/io_protocol.html">https://erlang.org/doc/apps/stdlib/io_protocol.html</a><br></div><div><br></div><div>I think starting normal gen_server that takes your data string in `init/1` or maybe receives it in a separate call would work fine. And you'd need to handle `{io_request, ..}` messages in `handle_info` gen_server callback.</div><div><br></div><div>Regards,</div><div>Sergey</div></div>