Linux Sockets in C

Discussion in 'C' started by Scythed, Nov 7, 2010.

  1. Scythed

    Scythed New Member

    Joined:
    Nov 7, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi everyone,

    I am trying to learn how to do socket programming. What I am trying to do right now is the following:

    1. Client and Server which communicate on localhost using whichever port I designate
    2. Server has a text file stored on it
    3. Client can send a query to the Server to peruse the text file and get contents (for example if the text file is an address book, I want to be able to send the name of the person as a query and get the Server to return the address after browsing the text file).

    I am trying to do this in Linux because it seems to be the most simple out of all the operating systems in terms of complexity etc.

    If anyone could give me any pointers or a step in the right direction that would be GREAT!

    Thanks!!!!
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice