1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Linux Sockets in C

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

  1. Scythed

    Scythed New Member

    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!


Share This Page