Write (send) data to Router OS
public write ( string $command, mixed $param2 = true ) : boolean | ||
$command | string | A string with the command to send |
$param2 | mixed | If we set an integer, the command will send this data as a "tag" If we set it to boolean true, the funcion will send the comand and finish If we set it to boolean false, the funcion will send the comand and wait for next command Default: true |
return | boolean | Return false if no command especified |