Closed radeksm closed 8 months ago
Thanks for the PR! This is not a correct change, the setsockopt interface is bytes, and most often integers.
If I'm reading correctly, the TypeError is correct, in that if you give unicode you've made an error, and you should be giving it bytes.
@minrk yeahhh you are correct. Thanks and sorry !
Fix below error: TypeError: unicode not allowed, use setsockopt_string
And remove remaining references to socket.setsockopt() and replace by socket.setsockopt_string().