# tibems_SetMulticastDaemon

Function

Warning: Along with the multicast feature, this function was deprecated in software release 8.3.0 and will no longer be supported in future releases.

## Purpose

Set the port on which the EMS client will connect to the multicast daemon.

## C Declaration

    tibems_status tibems_SetMulticastDaemon(
        const char* port);

## Parameters

Parameter | Description
--- | ---
`port` | The multicast daemon port that connections created in this application will connect to.

## Remarks

A connection to the multicast daemon is required when multicast is enabled and a consumer is subscribed to a multicast-enabled topic. Setting the port with this method will override the default port supplied by the server and any port specified in a connection factory for all connections in the application.

This call is not supported in COBOL, and is not supported on z/OS and IBM i systems.

## See Also

`tibemsConnectionFactory_SetMulticastDaemon`

`tibems_SetMulticastEnabled`

Copyright © Cloud Software Group, Inc. All rights reserved.