androiddump: Use only non-blocking connect() instead of the socket
authorMichal Labedzki <michal.labedzki@tieto.com>
Mon, 27 Feb 2017 06:44:39 +0000 (07:44 +0100)
committerAnders Broman <a.broman58@gmail.com>
Tue, 28 Feb 2017 05:24:50 +0000 (05:24 +0000)
commit5c6f6333768e16fc682b732db561754434f41272
treec66961842772e96ad3b75d99b6870fc5657bf24e
parent606f941e7f9f67f7851c6eb285ca30175aad0344
androiddump: Use only non-blocking connect() instead of the socket

Architecture of androiddump based on "blocking" sockets,
however for start-up it is better to use non-bloking connect()
to avoid long waiting time then fail.

Change-Id: I2bb8ea51e24db4dd1f5a6b97e1d2bc0156342d97
Reviewed-on: https://code.wireshark.org/review/20293
Petri-Dish: Michal Labedzki <michal.tomasz.labedzki@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
extcap/androiddump.c