Those headers are for the "BSD sockets" API used on *nix platforms and others.
Windows uses the "Windows Sockets" or "Winsock" API; it is based on and
similar to BSD but there are some differences (including the header names).
Find the low-down on Winsock here, where you will find a getting started
guide, a BSD sockets porting guide, and if you go up one level, a complete API
reference and other resources.
To use the API, include <winsock2.h> and link libws2_32.a.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I need the following:
sys/socket.h, netinet/ip.h
I wasn´t able to find it for Dev-C++ running on Windows.
I'd appreciate some help.
Those headers are for the "BSD sockets" API used on *nix platforms and others.
Windows uses the "Windows Sockets" or "Winsock" API; it is based on and
similar to BSD but there are some differences (including the header names).
Find the low-down on Winsock here, where you will find a getting started
guide, a BSD sockets porting guide, and if you go up one level, a complete API
reference and other resources.
To use the API, include <winsock2.h> and link libws2_32.a.
Thanks a lot.
Best wishes, Edison.