please recommend C and C++ network library

This is a discussion on please recommend C and C++ network library within the Networking/Device Communication forums, part of the General Programming Boards category; hi... can someone recommend C and C++ network library that support linux, unix and windows platform? plus, best if the ...

  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    39

    Talking please recommend C and C++ network library

    hi...

    can someone recommend C and C++ network library that support linux, unix and windows platform?

    plus, best if the network library can support most fo portocols and algorithms that available today such as UDP, TCP, SNMP, IPV4, IPV6, NAT, and etc etc....

    Thanks

  2. #2
    Registered User
    Join Date
    Jan 2005
    Posts
    847
    You could just use sockets instread of using a higher level library. The socket library on unix type systems and windows (winsock) are very similar so it's easy to write portable code.

  3. #3
    * Death to Visual Basic * Devil Panther's Avatar
    Join Date
    Aug 2001
    Posts
    768
    I don't think you will find anything with 100% support between windows and linux, but you can come close... and without any special made libraries... just basic ones.
    Please refer to Beej guide for network programming.

    The guide covers Berkley's Network related fucntions, they are pretty much the same for windows and linux, you need to include different headers and libs but everything you need is on your local OS.

    It will give a full support for IPv4 (and I think IPv6), TCP and UDP;
    As for other application protocols, I think you will have to Google it.


    Goodluck.
    "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe

    http://www.Bloodware.net - Developing free software for the community.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21