connectTimeout

var connectTimeout: Int

Specifies a time period (in milliseconds) in which a client should establish a connection with a server.

Set this value to 0 to use an infinite timeout.