<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-text-html" lang="x-western">
      <div class="moz-text-html" lang="x-western"> Apparently
        [netclient] on the Pure Data side cannot receive nothing else
        than ; delimited messages.<br>
        So the solution for the problem:<br>
        <strong>My question is, is there a way to send something other
          than string message to Pure Data, like byte-stream or
          serialized number stream? Can Pure Data receive such messages?</strong><br>
        <br>
        The solution is to use [tcpclient], it can receive byte-stream
        data.<br>
        <br>
        Now I have another problem regarding the data read, on how to
        convert it back to usable numbers.<br>
        <br>
        From my UNIX server I am sending a structure<br>
        <br>
        typedef struct {<br>
        &nbsp; &nbsp; int &nbsp; &nbsp; var_code;<br>
        &nbsp; &nbsp; int&nbsp; &nbsp; sample_time;<br>
        &nbsp; &nbsp; int &nbsp; &nbsp; hr;<br>
        &nbsp; &nbsp; float&nbsp; &nbsp; hs;<br>
        } phy_data;<br>
        <br>
        Sample data might be 2 1000000 51 2000.56<br>
        <br>
        When received and printed&nbsp; in Pure Data I get output like this:<br>
        <br>
        &gt;&gt;&gt;: 2 0 0 0 104 34 9 0 51 0 0 0 235 50 48 69<br>
        <br>
        You can notice number 2 and number 51 clearly, I guess the
        others are correct as well. Might be some network inversion of
        LSB/MSB.<br>
        <br>
        <strong>How can I get these numbers back to a usable format and
          get them in separate variables?<br>
          <br>
        </strong>//Petar<strong><br>
        </strong> </div>
    </div>
  </body>
</html>