Lines Matching refs:level
2 mixed socket_getopt( resource $socket , int $level , int $optname ) ;
10 $level = IPPROTO_IP;
14 $r = socket_set_option($s, $level, IP_MULTICAST_TTL, 9);
16 $r = socket_getopt($s, $level, IP_MULTICAST_TTL);
21 $r = socket_set_option($s, $level, IP_MULTICAST_LOOP, 0);
23 $r = socket_getopt($s, $level, IP_MULTICAST_LOOP);
25 $r = socket_set_option($s, $level, IP_MULTICAST_LOOP, 1);
27 $r = socket_getopt($s, $level, IP_MULTICAST_LOOP);
33 $r = socket_set_option($s, $level, IP_MULTICAST_IF, 0);
35 $r = socket_getopt($s, $level, IP_MULTICAST_IF);
38 $r = socket_set_option($s, $level, IP_MULTICAST_IF, 1);
40 $r = socket_getopt($s, $level, IP_MULTICAST_IF);
47 unset($level);