# mco_iot_replicator_get_comm

Return the underlying communicator for the specified replicator.

### For an overview see page ARF Applications in C

### Prototype

        mco_iot_comm_h mco_iot_replicator_get_comm(mco_iot_replicator_h repl);

### Arguments

repl | The replicator object

### Description

This function returns the underlying communicator for the specified replicator.

### Return Codes

mco_iot_comm_h | The communicator for the specified replicator

### Example

        void stop_iot(mco_iot_replicator_h repl)
        {
            mco_iot_comm_h comm = mco_iot_replicator_get_comm(repl);
            ...
        }

### Files

Header file:
mcoiot.h
Source file:
mcoiotrepl.c
Library:
libmcoiotrepl.a