Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- result = s.connect_ex((ip, port))
- if result == 0:
- print('...')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement