---------------------------------------------------------------------------
| 160 | } |
| 161 | //--------------------------------------------------------------------------- |
| 162 | void TcpPrintStatus(void) |
| 163 | { |
| 164 | if( ! MainCfg.TcpEnable ) |
| 165 | { |
| 166 | PrintSB(1, "TCP: server disabled"); |
| 167 | } |
| 168 | else |
| 169 | { |
| 170 | if( tcp->IsOpen() ) |
| 171 | PrintSB(1, String("TCP ") + tcp->GetLocalAddrPort() + |
| 172 | " [" + IntToStr(TcpGetConnectionsCount()) + "]"); |
| 173 | else |
| 174 | PrintSB(1, "TCP: server not started"); |
| 175 | } |
| 176 | } |
| 177 | //--------------------------------------------------------------------------- |
| 178 | void TcpReceiveMessage(void) |
| 179 | { |
no test coverage detected