hi all
i have made a nice lil c program that uses 

#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>

It compiles and works nicly in linux with gcc, I am trying to run the prog
in win but i am having a little bit of trouble compiling it.

I have borrowed borland c++ 5 from a friend to see if it could compile but
it dosent seem to have any of the headers i need especially socket etc. -
can a c++ compiler just compile c like it is native?

the Question is-- is sys/socket.h a *nix only thing or shoud i be able to
compile it in win? is there a way to compile progs for win in linux?  And
is there any free way of doing the above as my budget goes from about 0 to
0 ;-)
 

thanks 

alex



-- 

When life is hard to stand try kneeling.

I never met a calorie i didn't like ;-)



--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to