Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows demo #16

Open
measley opened this issue Feb 27, 2015 · 2 comments
Open

Windows demo #16

measley opened this issue Feb 27, 2015 · 2 comments

Comments

@measley
Copy link

measley commented Feb 27, 2015

Hi, I'm interested in using this library on a windows machine. My dev board is the TI LaunchPad. I'm getting some include errors on netinet/in.h. Do I need cygwin or something to correct this?

@tobyjaffey
Copy link
Contributor

If you want to run the POSIX code on Windows, you will need to compile in an environment (like Cygwin/MinGW) which provides the needed socket APIs.
If you want to use on the TI Launchpad, you should use the microcoap API to generate packets, then send them over whatever network interface you are using.

@pfaco
Copy link

pfaco commented Jun 3, 2015

What I liked the best about microcoap is that it does not really need cygwin or anything. You can just delete that include and call the socket (or any other interface) as you want. The others coap implementations I've looked at are too much coupled to POSIX sockets. Congrats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants