public function setTransmitTimeout($seconds = null)
    {
        if (is_integer($seconds)) {
            $this->_txtimeout = $seconds;
        } else {
            $this->_txtimeout = self::DEF_TX_RX_TIMEOUT;
        }
        return $this->_txtimeout;
    }
public function setTransmitTimeout($seconds = null)
    {
        if (is_integer($seconds)) {
            $this->_txtimeout = $seconds;
        } else {
            $this->_txtimeout = self::DEF_TX_RX_TIMEOUT;
        }
        return $this->_txtimeout;
    }
public function setTransmitTimeout ( $ seconds = null ) { if ( is_integer ( $ seconds ) ) { $ this -> _txtimeout = $ seconds ; } else { $ this -> _txtimeout = self :: DEF_TX_RX_TIMEOUT ; } return $ this -> _txtimeout ; }
Sets the transmit timeout.

If the timeout occurs, the connection will be reinitialized
Default: 300 seconds

@api
@param integer|null $seconds
@return integer
Sets the transmit timeout .