<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Good morning,<div class="">I’m developing a SANE client that uses the RPC over TCP to communicate with the server. I have already developed some functions and they work. However, my implementation of SANE_NET_CONTROL_OPTION is broken and I can’t tell why.</div><div class=""><br class=""></div><div class=""><a href="https://github.com/eutampieri/SwiftSANE/blob/49f464e5328de10744348d246dea90f3c9d98ec8/Sources/SANEScan/SANEScan.swift#L116" class="">https://github.com/eutampieri/SwiftSANE/blob/49f464e5328de10744348d246dea90f3c9d98ec8/Sources/SANEScan/SANEScan.swift#L116</a> Here is the function that doesn’t work. The function writes to the socket the following message, which I’m sending base64 encoded: <b style="font-family: Menlo; background-color: rgb(255, 255, 255);" class="">AAAABQAAAAAAAAACAAAAAAAAAAIAAAAEAAoZmQ==. </b> However I’m receiving an empty response.</div><div class=""><br class=""></div><div class="">Is the request that I’m making to the server wrong? Is this the expected behavior? Could you give me more informations regarding the option number?</div><div class=""><br class=""></div><div class="">Thanks in advance,</div><div class=""><br class=""></div><div class="">Eugenio Tampieri</div></body></html>