I want to compile my program from linux to run on Windows as exe. I know how to do it with mingw64 etc. but real problem is Windows doesn't have libraries of code but linux has. How can i compile it?
#define <sys/socket.h>
#define <arpa/inet.h>
#define <netinet/in.h>
int main(){
//some codes etc.
}