# Configuring C and COBOL Clients for Fault-Tolerant Connections

When connecting a fault-tolerant client to EMS, you must specify two or more EMS servers.

For more information see "Configuring Clients for Shared State Failover Connections" in the TIBCO Enterprise Message Service User’s Guide.

C clients list the primary and backup server URLs in the `brokerURL` argument to a connection constructor, separated by a comma.

Example

In this example, the first server is `tcp://server0:7222`, and the second server is `tcp://server1:7344` (if first server is not available).

    tibemsConnection_Create(
        &connection,
        "tcp://server0:7222,
         tcp://server1:7344",
        NULL, "admin", NULL );

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