Find the answer to your Linux question:
Results 1 to 3 of 3
Hello My Friends ... i have a project in university , my project is a client/server system , like a chat server . in Microsoft Windows i use winsock , ...
  1. #1
    Just Joined!
    Join Date
    Sep 2008
    Posts
    1

    socket programming in linux

    Hello My Friends ...
    i have a project in university , my project is a client/server system , like a chat server . in Microsoft Windows i use winsock , but in linux i dont have any experience to this issuese ...
    i search in google , and now know that c++ standard dont have any library for socket (network) programming . now i want to know in linux (unix) , i must use which libraries to this issues ... . my friends , i want a reliable and popular and portable way .
    because my project is a open source project and i want use common and portable libraries ...
    for instance i want to know , some applications such as firefox , wget , opera , pidgin , and other ... use which libraries to this issues
    really my project transmit big data's between nodes ...
    thanks dears

  2. #2
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    I'm very new to C++ programing, but I've done a limited amount of socket programing using SDL_net

    you can check it out and more at libsdl.org.

    SDL is made to be a replacement for directX, and may be a bit overkill for what you need, But it is the only socket API i know of.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  3. #3
    Linux Engineer GNU-Fan's Avatar
    Join Date
    Mar 2008
    Posts
    935
    Twenty years ago or so, the BSD style sockets were introduced and are now part of nearly any UNIX compatible operating system. Berkeley sockets - Wikipedia, the free encyclopedia
    The GNU C Library - Sockets

    Even Microsoft incorporated that standard into Windows. (Of course with some deviations from the standard ) Therefore it should look very familiar if you know WinSock already.
    Debian GNU/Linux -- You know you want it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...