| helics 3.6.1

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

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::zeromq::bindzmqSocket (zmq::socket_t &socket, const std::string &address, int port, std::chrono::milliseconds timeout, std::chrono::milliseconds period=defaultPeriod)
std::string | helics::zeromq::getZMQVersion ()

## Detailed Description

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

## Function Documentation

## ◆ bindzmqSocket()

bool helics::zeromq::bindzmqSocket | ( | zmq::socket_t & | socket,
|  | const std::string & | address,
|  | int | port,
|  | std::chrono::milliseconds | timeout,
|  | std::chrono::milliseconds | period = `defaultPeriod`
| ) |  |

bind a zmq socket, with a timeout and timeout period

## ◆ getZMQVersion()

std::string helics::zeromq::getZMQVersion | ( |  | ) |

get the ZeroMQ version currently in use