How do i get these include directives to work under visual studio 2017 ? (Linux project solution)

  • Thread starter Thread starter infernal_solid
  • Start date Start date
I

infernal_solid

Guest
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

^^ it can't find the files for these. Whatever it is. It's underlined red. meaning it won't compile.

I know windows using winsocks and all. But if I'm coding for linux. I expected functionality for these, i mean cygwin provides the functionality so why can't visual studio.

Continue reading...
 
Back
Top