Use the tibasMetaspace_Connect() function to connect to a specified metaspace and specify member and connection attributes for the connection, such as the discovery URL used to discover other members of the metaspace and the TCP port used to listen for incoming connections from new members.
Before calling tibasMetaspace_Connect(), create a MemberDef object and specify the attributes for the member definition using the tibasMemberDef functions. The
memberDef parameter specifies a MemberDef struct that defines the characteristics of the connection, such as the discovery attribute and the listen attribute used for connections to the metaspace.