diff options
-rw-r--r-- | libusbmuxd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libusbmuxd.c b/libusbmuxd.c index 9cccb40..c12a7c0 100644 --- a/libusbmuxd.c +++ b/libusbmuxd.c @@ -88,7 +88,7 @@ int usbmuxd_scan(usbmuxd_scan_result **available_devices) *available_devices = NULL; // receive device list while (1) { - if (recv_buf_timeout(sfd, &pktlen, 4, MSG_PEEK, 500) == 4) { + if (recv_buf_timeout(sfd, &pktlen, 4, MSG_PEEK, 1000) == 4) { if (pktlen != sizeof(dev_info_pkt)) { // invalid packet size received! fprintf(stderr, "%s: Invalid packet size (%d) received when expecting a device info record.\n", __func__, pktlen); |