$this->recv_error($from, $arguments);
break;
//P10 Session
+ case "S":
+ $this->recv_server($from, $arguments);
+ break;
+ case "G":
+ $this->recv_ping($from, $arguments);
+ break;
+ //default
default:
//unknown cmd
break;
}
}
+ private function recv_ping($from, $args) {
+ $this->send("Z", $args[0]); //simply PONG
+ }
+
}
?>
\ No newline at end of file