enum TVerdict CEsockTest19_7::easyTestStepL() { TInetAddr addr; TBuf<39> buf; // set IP address using a prefix length // set IP address addr.PrefixMask(60); // check it has been set correctly addr.OutputWithScope(buf); TESTL(buf==_L("ffff:ffff:ffff:fff0::")); // change the IP address addr.Input(_L("1.1.1.1.1.1.1.1")); // set the IP address using a different prefisx length addr.PrefixMask(58); // check it has been set correctly addr.OutputWithScope(buf); TESTL(buf==_L("ffff:ffff:ffff:ffc0::")); return EPass; }