There is a php script which sends a binary string to the client application:
$binary_string = pack('i',count($result_matrix));
foreach ($result_matrix as $row)
{
foreach ($row as $cell)
{
$binary_string .= pack('d',$cell);
}
}
echo $binary_string;
Silverlight application receives $binary_string via POST protocol. How can I parse this binary string?
Or maybe there is a better way to send matrix from PHP to Silverlight?