AnsweredAssumed Answered

Does anyone have any C/C++ Sample Code without using cURL?

Question asked by Bryan Anslow on Jul 9, 2014


I am trying to write a C/C++ Program, using the HCP RESTful API, to store data on Hitachi, using the Emulator initially.
(HCP Evaluation Edition for VMware Player).

I cannot use cURL, or similar, so I am just using the standard TCP/IP calls like connect()/send()/recv()/close()/etc.

I am using the sample HTTP PUT/GET Requests from the "Building Open Applications on the HCP using the HCP REST API" manual.

I can connect to the Emulator ok, but get an error=121 (EREMOTEIO) when I try sending the PUT Request.

Can anyone suggest why?

I can post code snippets if required.