How to use socket.h c header file in contiki cooja simulator

Viewed 94

I have included the header file socket.h in contiki rpl-control message file but it gives an error that directory/file not found.The problem is that the client/server code written in a seperate C file works fine but as soon as I copy the code and put it in cooja it cant find the files.I need to send some data from cooja contiki to nodejs server.How to do that?

1 Answers
Related