Eli Zaretskii writes: > So what is the problem with using unibyte-string for producing a > unibyte string from a list of bytes? It sounds like it's exactly > what is needed here, and is actually used in some places in socks.el. Great, thanks. That's what was needed indeed. I've updated things accordingly and have added a doc string to socks-send-command explaining the address parameter.