A
Abby
Hi all,
I'm now writing a c program on windows XP which will send/receive
packet using udp protocol. The program I write require the following
header files:
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>
#include <sys/types.h>
#include <unistd.h>
#include <signal.h>
#include <setjmp.h>
#include <netdb.h>
I'm now using cygwin, but the problem is that it has the license.
Anyone knows any other compilers aside from cygwin that does the same
thing (include BSD socket lib like this)? I can compile my code in
Linux no problem, but when I use cygwin to compile, I always need to
include cygwin1.dll to my executable file whenever I want to use it in
other window machines.
Please give me some advice. Thank you so much.
I'm now writing a c program on windows XP which will send/receive
packet using udp protocol. The program I write require the following
header files:
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>
#include <sys/types.h>
#include <unistd.h>
#include <signal.h>
#include <setjmp.h>
#include <netdb.h>
I'm now using cygwin, but the problem is that it has the license.
Anyone knows any other compilers aside from cygwin that does the same
thing (include BSD socket lib like this)? I can compile my code in
Linux no problem, but when I use cygwin to compile, I always need to
include cygwin1.dll to my executable file whenever I want to use it in
other window machines.
Please give me some advice. Thank you so much.