Thread: reference needed for socket programming with arpa/inet.h, sys/select.h, error.h

  1. #1
    Registered User
    Join Date
    Dec 2008
    Posts
    48

    reference needed for socket programming with arpa/inet.h, sys/select.h, error.h

    Dear there,

    I had difficulty to use an beta version API, which is based on the following three head files.
    // LINUX
    // includes
    #include <arpa/inet.h>
    #include <errno.h>
    #include <sys/select.h>

    I searched online for socket programming and got tons of references, most of them are for internet socket programming, which seems far away from what I am doing. I only call the API to connect to an application running on the same machine.

    Would anyone point me to a few highly relevant tutorials, books or references?

    Sincerely Yours,
    Michael

  2. #2
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    There's not much of a difference between connecting to a remote machine, and connecting to the local machine. Here is a good tutorial/reference on how to do socket programming.

  3. #3
    Registered User
    Join Date
    Dec 2008
    Posts
    48
    thanks for the link. it looks like a high quality reference. I will go ahead and study it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. o/p of call by reference needed!
    By chocoboy308 in forum C Programming
    Replies: 3
    Last Post: 11-17-2007, 06:24 PM
  2. MinGW Linking GUI Program
    By Tonto in forum Tech Board
    Replies: 19
    Last Post: 08-23-2006, 03:28 PM
  3. problem with the library
    By kris.c in forum C Programming
    Replies: 21
    Last Post: 07-10-2006, 08:29 PM
  4. help needed with passing objects by reference
    By finnepower in forum C++ Programming
    Replies: 3
    Last Post: 06-30-2002, 03:38 PM
  5. binary files reference needed!
    By Unregistered in forum C Programming
    Replies: 5
    Last Post: 03-12-2002, 09:13 PM

Tags for this Thread