Need help with setting up an HTTP server on a TV

I’m trying to setup a HTTP server on a Samsung Series 6 Smart TV. I downloaded the NaCL socket example from, and added it to a Tizen native project.

I cannot get it working. There are no errors and the app just says “NaCL module status: uninitialized”. I would really like to try this, what do I do so that it loads it? I’m using a TV and not an emulator.

I also tried a different TCP socket example but while it loads I am not able to connect to the port (2601) from my machine to send data to the socket.

Finally, what is ecore_con server? Should I be using that over regular C sockets?