* @brief Tries to send the pending data immediately. * @note Call this method to decrease latency. Use it carefully. */
| 142 | * @note Call this method to decrease latency. Use it carefully. |
| 143 | */ |
| 144 | void commit() |
| 145 | { |
| 146 | onReadyToSendData(TcpConnectionEvent::eTCE_Poll); |
| 147 | TcpConnection::flush(); |
| 148 | } |
| 149 | |
| 150 | protected: |
| 151 | err_t onConnected(err_t err) override; |