Reply To: How to receive data from HarkDataStreamSender

HARK FORUM How to receive data from HarkDataStreamSender Reply To: How to receive data from HarkDataStreamSender

#1204
kohira
Participant

    Hi,

    For receiving data from HarkDataStreamSender, I made a TCP server.
    A fragment of source code of the server is as below.

    sock = accept(sock0, (struct sockaddr*) & client, &len);
    int sz = recv(sock, pbuff, szbuff, 0);

    Just after executing HARK network the server accepts something, but recv() is blocked, i.e., no data coming.

    Is my connection on HarkDataStreamSender wrong? or other mistakes?
    Could you please tell me wrong point?

    Thank you.
    Kohira

    Attachments: