# tibemsConnectionFactory_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 client will connect to the multicast daemon.

## C Declaration

    tibems_status tibemsConnectionFactory_SetMulticastDaemon(
        tibemsConnectionFactory factory,
        const char* multicastDaemon);

## Parameters

Parameter | Description
--- | ---
factory | Set the multicast daemon for this connection factory.
`multicastDaemon` | The port number for the multicast daemon that connections created using this factory 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.

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

## See Also

`tibemsConnectionFactory_SetMulticastEnabled`

`tibems_SetMulticastDaemon`

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