FAQ
Q. What is the address that the Handler uses to join the UDP multicast?
A. By default, all available network interfaces are used. To specify the particular network interface, the LocalNetworkInterface property is used for both feed A and B. If you want to use different interfaces for feeds, you can use LocalNetworkInterfaceA and LocalNetworkInterfaceB properties.
For example:
handler.LocalNetworkInterface = System.Net.IPAddress.Parse("10.147.24.2"); // "10.147.24.2" is the IP address of the network card that faces CME.
// or
handler.LocalNetworkInterfaceA = System.Net.IPAddress.Parse("10.147.24.3"); // "10.147.24.3" is the IP address of the network card that faces CME.
handler.LocalNetworkInterfaceB = System.Net.IPAddress.Parse("10.147.24.4"); // "10.147.24.4" is the IP address of the network card that faces CME.
Q. How can I extract the Symbol (Tag 55, aka Instrument IMessage Code) field from the Security Definition (d) messages from the CME Multicast Data feed?
A. This field is available via the DefinitionMessage property.
For example:
private static void Handler_SecurityDefinitionReceived(Handler handler, ISecurityDefinition definition)
{
string symbol = definition.DefinitionMessage.GetString(Tags.Symbol);
}