# mco_HA_get_ip_addr

This function returns information about the transport layer.

### For an overview see page HA Applications

### Prototype

        uint4	mco_HA_get_ip_addr(	mco_channel_h chan);

### Arguments

chan | The I/O channel of the replica.

### Description

This function returns the IP address associated with the specified I/O channel.

### Return Codes

uint4 | The IP address associated with the replica’s I/O channel as a 32 bit integer in the host byte order (for TCP and UDP protocols only).