[prev in list] [next in list] [prev in thread] [next in thread]
List: mingw-users
Subject: [Mingw-users] Can Dev-Cpp (Mingw) (under windows) compile
From: Tor Lillqvist <tml () iki ! fi>
Date: 2006-11-08 22:09:21
Message-ID: 17746.21905.296000.695888 () gargle ! gargle ! HOWL
[Download RAW message or body]
> Can Dev-Cpp (Mingw) (under windows) compile network libraries:
> #include <unistd.h>
> #include <arpa/inet.h>
> #include <sys/types.h>
> #include <netinet/in.h>
> #include <sys/socket.h>
Yes and no.
Yes: Much of the socket API (the functions and their semantics) on
Windows is the same as on Unix. But there are some important
differences. Google is your friend.
No: Those headers aren't used in Winsock, the Windows implementation
of the socket API, which is what mingw provides. One uses <winsock2.h>
and <ws2tcpip.h> instead.
--tml
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic