Skip to content
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: an integer is required (got type str) #99

Open
TheMrRedSlime opened this issue Oct 12, 2022 · 1 comment
Open

TypeError: an integer is required (got type str) #99

TheMrRedSlime opened this issue Oct 12, 2022 · 1 comment

Comments

@TheMrRedSlime
Copy link

Traceback (most recent call last):
File "DDos.py", line 48, in
sock.sendto(bytes, (ip,port))
TypeError: an integer is required (got type str)

@imvickykumar999
Copy link

sock.sendto(bytes, (ip, int(port) ))

port parameter should be int datatype.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants