<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I assume you're running Windows. You can ignore the SO_BROADCAST
      error (it will be gone in Pd 0.51).</p>
    <p>Pd 0.51 will also show better error messages on Windows, but for
      now you can just google the WSA error code:</p>
    <p><a class="moz-txt-link-freetext" href="https://docs.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2">https://docs.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2</a></p>
    <p>Here's the crucial bit:</p>
    <p>"Another possible reason for the WSAEACCES error is that when the
      <a
href="https://docs.microsoft.com/en-us/windows/desktop/api/winsock/nf-winsock-bind"
        data-linktype="absolute-path"><strong>bind</strong></a> function
      is called (on Windows NT 4.0 with SP4 and later), another
      application, service, or kernel mode driver is bound to the same
      address with exclusive access."</p>
    <p>Probably some other application is already listening to this
      port. Either stop this application or configure the imotions
      software to send to another port (if possible).<br>
    </p>
    <p>Christof<br>
    </p>
    <div class="moz-cite-prefix">On 26.02.2020 16:35, Markus Brandt
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABqkMr7G2HgeOpxh7zwxvJC9i-AFDyUThg4403Gz+HZN_feqDw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div>hi christof</div>
          <div><br>
          </div>
          <div>so i started to test right now and ran into following
            error </div>
          <div><br>
          </div>
          <div>netreceive: failed to sett SO_BROADCAST<br>
            bind: Unknown error (10013)</div>
          <div><br>
          </div>
          <div>data is sent over port 8088. putty and Wireshark have no
            problems to get the data.</div>
          <div><br>
          </div>
          <div>cheers </div>
          <div>markus</div>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div class="gmail_attr" dir="ltr">Am Fr., 21. Feb. 2020 um
          18:48 Uhr schrieb Markus Brandt <<a
            href="mailto:2brandt63@gmail.com" moz-do-not-send="true">2brandt63@gmail.com</a>>:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">
          <div dir="auto">It means a bit of testing. Monday I'll be back
            in office and in charge of the devices. I will come back to
            you then, if I am allowed.
            <div dir="auto"><br>
            </div>
            <div dir="auto">Markus</div>
          </div>
          <br>
          <div class="gmail_quote">
            <div class="gmail_attr" dir="ltr">Christof Ressi <<a
                href="mailto:info@christofressi.com" target="_blank"
                moz-do-not-send="true">info@christofressi.com</a>>
              schrieb am Fr., 21. Feb. 2020, 18:31:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">
              <div>
                <p>Ok, I see. I don't know the [netclient] object, but
                  TCP networking objects like [netreceive -b] or
                  [iemnet/tcpreceive] all output a stream of bytes. In
                  your case, just collect the bytes into a list until
                  you hit byte 13 (CR), then you can split the resulting
                  list by byte 59 (";"). Now you need to convert each
                  sublist to a proper Pd message:<br>
                </p>
                <p>Ideally, you know in advance which type you expect
                  for each item. If you need an item as a Pd symbol, you
                  can send the (sub)list to [list tosymbol], which will
                  output a single Pd symbol - even if the string
                  contains whitespace! If the item is numeric, you can
                  pass it to [fudiparse], which wil output a Pd float.<br>
                </p>
                <p>Otherwise, you can just pass the (sub)list to
                  [fudiparse] unconditionally, but a string like
                  "Affectiva AFFDEX Landmarks" will yield a Pd message
                  with 3 symbols, because whitespace is the delimiter
                  for Pd message atoms. You can catch this with [list
                  length]: if the resulting Pd list has more than 1
                  item, this means that a string originally contained
                  whitespace and you can concatenate the symbols (if
                  needed).<br>
                </p>
                <p>In your case, you can actually just pass the *whole*
                  message to [fudiparse] and it will automatically split
                  it into invididual Pd messages (because ";" happens to
                  be the FUDI message delimiter), but watch out for the
                  problem with whitespace in strings as described above.<br>
                </p>
                <p>Hope this helps!</p>
                <p>Christof<br>
                </p>
                <p><br>
                </p>
                <div>On 21.02.2020 17:35, Markus Brandt wrote:<br>
                </div>
                <blockquote type="cite">
                  <div dir="auto">I would like to use data of biosensers
                    in pd. They are coming via tcpip from a data
                    collecting software called iMotions ( <a
href="https://imotions.com/?creative=287840870074&keyword=imotions&matchtype=b&network=g&device=m&gclid=Cj0KCQiAnL7yBRD3ARIsAJp_oLZFxXz6JiAVeJxfYrWYUf_CVE5qN7Dvsw5NCCDyX4Nwz2BXcSU_Rw8aAj3jEALw_wcB"
                      target="_blank" rel="noreferrer noreferrer"
                      moz-do-not-send="true">https://imotions.com/?creative=287840870074&keyword=imotions&matchtype=b&network=g&device=m&gclid=Cj0KCQiAnL7yBRD3ARIsAJp_oLZFxXz6JiAVeJxfYrWYUf_CVE5qN7Dvsw5NCCDyX4Nwz2BXcSU_Rw8aAj3jEALw_wcB</a>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto">Every item of the list is separated
                      with ; which makes it unusable for me in pd. Putty
                      shows symbols, integers and floats. Wireshark
                      shows hex, as I assume. Only [netclient] in pd did
                      show numbers, but only one after the other and was
                      heavily busy. The trial to print it to the console
                      freezed pd.</div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto">Maybe there is way to do the
                      conversation outside pd, but not for me, caused by
                      being only a patcher. </div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto">Any help apriciated and thank you in
                      advance</div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto">Markus</div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto"><br>
                    </div>
                  </div>
                  <br>
                  <div class="gmail_quote">
                    <div class="gmail_attr" dir="ltr">Christof Ressi
                      <<a href="mailto:info@christofressi.com"
                        target="_blank" rel="noreferrer noreferrer"
                        moz-do-not-send="true">info@christofressi.com</a>>
                      schrieb am Fr., 21. Feb. 2020, 16:59:<br>
                    </div>
                    <blockquote class="gmail_quote" style="margin:0px
                      0px 0px
0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">
                      <div>
                        <p>You can represent *any* string in Pd as a
                          list of bytes and convert from to Pd symbols
                          with [list fromsymbol] / [list tosymbol]. What
                          do you need to do exactly?</p>
                        <p>Christof<br>
                        </p>
                        <div>On 18.02.2020 13:01, Markus Brandt wrote:<br>
                        </div>
                        <blockquote type="cite">
                          <div dir="ltr">
                            <div dir="ltr">dear list!</div>
                            <div dir="ltr"><br>
                            </div>
                            <div dir="ltr">Has anyone of you an idea,
                              how i can get a string like the the one
                              mentioned below into pd? google was not
                              very helpful.</div>
                            <div dir="ltr"><br>
                            </div>
                            <div>00143526;Affectiva AFFDEX/Affectiva
                              AFFDEX;Affectiva AFFDEX
Landmarks;111657390223;-1;640;360;0;281.437683105469;215.941543579102;1;299.180236816406;248.484008789063;2;331.411010742188;263.274017333984;3;353.788421630859;247.519012451172;4;364.189880371094;217.078216552734;5;295.818267822266;182.501235961914;6;310.803680419922;181.085037231445;7;326.133361816406;184.873413085938;8;340.625579833984;184.74821472168;9;352.791717529297;181.521224975586;10;364.170654296875;183.068405151367;11;333.677062988281;192.564483642578;12;335.351531982422;218.070205688477;13;320.754211425781;218.482315063477;14;333.53564453125;222.660614013672;15;345.12890625;218.542205810547;16;302.288482666016;190.564224243164;17;320.241851806641;191.9140625;18;342.417999267578;191.955337524414;19;359.31201171875;191.504974365234;20;313.495849609375;235.9033203125;21;328.546875;234.737197875977;22;332.560852050781;236.656478881836;23;335.996704101563;234.80632019043;24;347.231048583984;236.135192871094;25;341.493438720703;239.761047363281;26;332.551513671875;241.566482543945;27;322.011535644531;239.544494628906;28;332.268127441406;238.743255615234;29;332.486145019531;237.6025390625;30;311.081359863281;188.53076171875;31;311.056701660156;194.007522583008;32;350.860046386719;188.921142578125;33;351.064697265625;194.802459716797</div>
                            <div><br>
                            </div>
                            <div>it is terminated with cr</div>
                            <div><br>
                            </div>
                            <div>thanks in advance</div>
                            <div><br>
                            </div>
                            <div>cheers</div>
                            <div>markus</div>
                          </div>
                          <br>
                          <fieldset></fieldset>
                          <pre>_______________________________________________
<a href="mailto:Pd-list@lists.iem.at" target="_blank" rel="noreferrer noreferrer noreferrer" moz-do-not-send="true">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" target="_blank" rel="noreferrer noreferrer noreferrer" moz-do-not-send="true">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
                        </blockquote>
                      </div>
                      _______________________________________________<br>
                      <a href="mailto:Pd-list@lists.iem.at"
                        target="_blank" rel="noreferrer noreferrer
                        noreferrer" moz-do-not-send="true">Pd-list@lists.iem.at</a>
                      mailing list<br>
                      UNSUBSCRIBE and account-management -> <a
                        href="https://lists.puredata.info/listinfo/pd-list"
                        target="_blank" rel="noreferrer noreferrer
                        noreferrer noreferrer" moz-do-not-send="true">https://lists.puredata.info/listinfo/pd-list</a><br>
                    </blockquote>
                  </div>
                </blockquote>
              </div>
              _______________________________________________<br>
              <a href="mailto:Pd-list@lists.iem.at" target="_blank"
                rel="noreferrer" moz-do-not-send="true">Pd-list@lists.iem.at</a>
              mailing list<br>
              UNSUBSCRIBE and account-management -> <a
                href="https://lists.puredata.info/listinfo/pd-list"
                target="_blank" rel="noreferrer noreferrer"
                moz-do-not-send="true">https://lists.puredata.info/listinfo/pd-list</a><br>
            </blockquote>
          </div>
        </blockquote>
      </div>
    </blockquote>
  </body>
</html>