The req_response() function is using 'udpcount' variable to resend the request 'udpcount' times on timeout even for TCP requests, which does not make sense, as it would use the same connection. Add a condition to use the resend logic only for UDP requests.
26 KiB
26 KiB