What is the default value of ENAME_APP_ID

Hello, we use RFA 8.1 C++ api to consume market data. We want to understand what default value is picked up if we do not set ENAME_APP_ID during Login to TREP.

Tagged:

Best Answer

  • Jirapongse
    Jirapongse admin
    Answer ✓

    @mktdata

    Thank you for reaching out to us.

    I tested it by not setting the ENAME_APP_ID in the login request message.

    <requestMsg domainType="RSSL_DMT_LOGIN" streamId="1" containerType="RSSL_DT_NO_DATA" flags="0x4 (RSSL_RQMF_STREAMING)" dataSize="0">
        <key  flags="0x26 (RSSL_MKF_HAS_NAME|RSSL_MKF_HAS_NAME_TYPE|RSSL_MKF_HAS_ATTRIB)"  name="user" nameType="1" attribContainerType="RSSL_DT_ELEMENT_LIST">
            <attrib>
                <elementList flags="0x8 (RSSL_ELF_HAS_STANDARD_DATA)">
                    <elementEntry name="Position" dataType="RSSL_DT_ASCII_STRING" data="192.168.144.1/net"/>
                    <elementEntry name="DownloadConnectionConfig" dataType="RSSL_DT_UINT" data="1"/>
                </elementList>
            </attrib>
        </key>
        <dataBody>
        </dataBody>
    </requestMsg>

    Then, I ran adsmon to monitor the connection and found the default application ID is 256.

    1692761307395.png

    You can also verify it by using adsmon.