How to receive data from HarkDataStreamSender

HARK FORUM How to receive data from HarkDataStreamSender

This topic contains 1 reply, has 2 voices, and was last updated by Avatar Masayuki Takigahira 1 week, 1 day ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1115
    Avatar
    kohira
    Participant

    I’m trying to receive data that HarkDataStreamSender sends.

    But after accept() is succeeded in my server, recv() receives a data of size zero, and connection is closed by client (i.e. HarkDataStreamSender).

    Is there any sample source code for server receiving data send by HarkDataStreamSender?

    Or, is there source code for HarkDataStreamSender?

    Thank you.

    #1121

    Sample code is not provided from the official website, but specifications and source code are available. I hope you find it helpful.
    There is only one point to note. Since the data is transmitted in little endian, it is not in the network byte order generally called.

    Please refer to the next url for specifications.
    https://www.hark.jp/document/hark-document-en/subsec-HarkDataStreamSender.html

    The source code can be obtained with the following command on Ubuntu.
    apt source hark-core

    In the case of Windows environment, it is probably easy to download from the following URL.
    http://archive.hark.jp/harkrepos/dists/bionic/non-free/source/
    You can download any version by clicking the following file name on the browser. The <version> will be in the form of “x.x.x”.
    hark-core_<version>.tar.gz

    Best regards,
    m.takigahira

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.