Lines Matching refs:level
2 mixed socket_getopt( resource $socket , int $level , int $optname ) ;
14 $level = IPPROTO_IP;
18 $r = socket_set_option($s, $level, IP_MULTICAST_TTL, 9);
20 $r = socket_getopt($s, $level, IP_MULTICAST_TTL);
25 $r = socket_set_option($s, $level, IP_MULTICAST_LOOP, 0);
27 $r = socket_getopt($s, $level, IP_MULTICAST_LOOP);
29 $r = socket_set_option($s, $level, IP_MULTICAST_LOOP, 1);
31 $r = socket_getopt($s, $level, IP_MULTICAST_LOOP);
37 $r = socket_set_option($s, $level, IP_MULTICAST_IF, 0);
39 $r = socket_getopt($s, $level, IP_MULTICAST_IF);
42 $r = socket_set_option($s, $level, IP_MULTICAST_IF, 1);
44 $r = socket_getopt($s, $level, IP_MULTICAST_IF);
51 unset($level);