We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69613bf commit bb4ef47Copy full SHA for bb4ef47
client.py
@@ -3,7 +3,7 @@
3
4
5
ip = input("[*] Enter IP of server: ")
6
-port = input("[*] Enter port of server: ")
+port = int(input("[*] Enter port of server: "))
7
client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
8
client.connect((ip, port))
9
0 commit comments