-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: can't concat str to bytes #3
Comments
Hi! If you are using python 3, you have to send bytes objects instead of strings. So you should say |
Hi,
and in python3 (3.6.2) I get this error:
So I still get the errors :/ |
I was unable to reproduce your py2 bug, but I have fixed the string literals to be bytestring literals so that py3 will work. I'm not sure what to tell you about your py2 issue! It looks like something weird going on with your operating system and its ability to let you use a UDP socket. |
@rhelmot I use Ubuntu 16.04, maybe Ubuntu doesnt have full support for python, I dont know? Is Debian better? When I set What I want to achieve with nclib, correct me if I am wrong, is to:
Isnt nclib for that purpose? |
Ok thanks for confirm to my questions. Really strange error:
Could it be something wrong on the Socket library ? I have never used Btw, should this python code do something similiar to nclib?
|
Hello,
I am running the tutorial found at: https://nclib.readthedocs.io/en/latest/netcat.html and have issues to run it.
Can you please tell me what the issue could be?
This is the commands I run as well as the error message shown.
Thanks for your reply.
The text was updated successfully, but these errors were encountered: