Jump to content
  • Advertisement
Sign in to follow this  
n2_liquid

posix socket library?

This topic is 4529 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hiho! I got a question.. I am using Windows, but just until my dad give me my new computer. After that I will put linux(slackware). But I dont like to wait for that to start my studies. So, is there any library available for win/lin that I don't need to change my source to compile on both OSs? For example, I am using pThreads, a library for multi-threading that follows the posix model. Could anybody help? Sorry my baddd english, but I couldn't correct my errors before posting, I am at school x.x Thx, cya! --EDIT-- Ah, and I use MinGW.

Share this post


Link to post
Share on other sites
Advertisement
Hi there.
There is a lot of multi platform socket libraries available. Searching google for "multi platform socket library" should give you quite a few hits.

Anyway, Im not an expert on the subject, so I cant tell you witch of them is better, or best suited for your application. However, I though I should link you to beej's network programming guide
The nice thing about this socket library is that it is natively implemented in all Unix/Linux/Win32 operating systems. No need to install a third party library =)

The "bad" thing about it is that it is old (c style programming), and probably lacks some utilities and functionality compared to newer socket libraries.

There is some small differences on how to set up and initialize the library on the different platforms, but the guide will cover that as well.

Good luck!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!