[sane-devel] Empty response from SANE_NET_CONTROL_OPTION
Eugenio Tampieri
eugenio at eutampieri.eu
Thu Mar 19 17:37:54 GMT 2020
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20200319/5f8fedd1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2271 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20200319/5f8fedd1/attachment.bin>
More information about the sane-devel
mailing list