About this question
Medium · networking · Quant Developer interview question · multicast, ipv4, ssm, networking, so-reuseport, market-data-feed, exchange
High-frequency trading systems receive real-time market data feeds via IP multicast, requiring efficient network packet processing. Correctly identifying multicast address types is a fundamental step for a market data handler to join the correct data stream. This task involves classifying an IPv4 address based on its octets to determine its multicast properties. Task Implement the function classify_multicast(int a, int b, int c, int d) that takes the four octets of an IPv4 address as input. The