It will try to open a socket.
...
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.settimeout(connect_timeout)
try:
s.connect( (host, port) )
...
Am Mittwoch, 27. Mai 2015 09:19:05 UTC+2 schrieb Max:
>
> I was wondering how does wait_for figures out if a port is listening on
> remote machine. Does it use port scanners like nmap or netcat or simply
> makes a telnet connection on that port?
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/b3cc9389-b58f-4c0d-ba40-afa949b9d2ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.