Menu

network libraries

2010-01-22
2012-09-26
  • Edison Albuquerque

    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.

     
  • cpns

    cpns - 2010-01-22

    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.

     
  • Edison Albuquerque

    Thanks a lot.
    Best wishes, Edison.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.