Can't seem to get it to send a message to a connection.
meh. damn insim! lol.
Anything wrong with this?
meh. damn insim! lol.
Anything wrong with this?
<?php
$packet=pack("C", 72);
$packet.=pack("C", ISP_MTC);
$packet.=pack("C", 0);
$packet.=pack("C", $data['conn_num']);
$packet.=pack("C", $data['unique_id']);
$packet.=pack("C", 0);
$packet.=pack("C", 0);
$packet.=str_pad($msgtosend, 64, "\0");
?>