socketTimeout

var socketTimeout: Int

Specifies a maximum time (in milliseconds) of inactivity between two data packets when exchanging data with a server.

Set this value to 0 to use an infinite timeout.