Hello, 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.
https://github.com/eutampieri/SwiftSANE/blob/49f464e5328de10744348d246dea90f3c9d98ec8/Sources/SANEScan/SANEScan.swift#L116 Here is the function that doesn’t work. The function writes to the socket the following message, which I’m providing to the mailing list base64 encoded for better readability: AAAABQAAAAAAAAACAAAAAAAAAAIAAAAEAAoZmQ==. However I’m receiving an empty response. 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? Thanks in advance, Eugenio Tampieri
smime.p7s
Description: S/MIME cryptographic signature
