| helics 3.6.1

Namespaces | Functions
TcpCommsCommon.h File Reference
`#include <chrono>`
`#include <string>`
`#include <system_error>`

Go to the source code of this file.

## Namespaces
| helics
| the main namespace for the helics co-simulation library User functions will be in the helics namespace with internal functions possible in a lower level namespace

## Functions
bool | helics::tcp::commErrorHandler (CommsInterface *comm, gmlc::networking::TcpConnection *, const std::error_code &error)

## Detailed Description

function in this file are common function used between the different TCP comms

## Function Documentation

## ◆ commErrorHandler()

bool helics::tcp::commErrorHandler | ( | CommsInterface * | comm,
|  | gmlc::networking::TcpConnection * | connection,
|  | const std::error_code & | error
| ) |  |

do some checking and logging about errors if the interface is connected