public NetworkEvents setPingParameters(String host, int port, int timeoutInMs) {
    onlineChecker.setPingParameters(host, port, timeoutInMs);
    return this;
  }
Sets ping parameters of the host used to check Internet connection.
If it's not set, library will use default ping parameters.

@param host host to be pinged
@param port port of the host
@param timeoutInMs timeout in milliseconds
@return NetworkEvents object
network-events-library/src/main/java/com/github/pwittchen/networkevents/library/NetworkEvents.java