Thread: writing dhcp client code using sockets on Linux

  1. #1
    Registered User
    Join Date
    Aug 2009
    Posts
    2

    Question writing dhcp client code using sockets on Linux

    Hi all,

    I want to write a generic network module.
    I want to register my device on network with DHCP.

    I want to program it in C using sockets on linux platform.
    So can anybody suggest me a good link or good book regarding overall network programming and specifically regarding writing dhcp client code using sockets.

    Any kind of help will be highly appreciated.

    Thanks & Regards,
    ./dash

  2. #2
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    You shouldn't bump a 7 year old thread to ask a question.

    At any rate, look at some of the book suggestions in this thread. They seem to match what you are looking for.
    bit∙hub [bit-huhb] n. A source and destination for information.

  3. #3
    {Jaxom,Imriel,Liam}'s Dad Kennedy's Avatar
    Join Date
    Aug 2006
    Location
    Alabama
    Posts
    1,065
    Quote Originally Posted by bithub View Post
    You shouldn't bump a 7 year old thread to ask a question.
    What?
    Quote Originally Posted by that thread
    07-15-2009, 12:26 PM #1
    That was the OP date. Have I time warped again or is that < a moth old???????

    Confused,
    Andy

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,412
    *sigh*

    This thread was moved from a 7 year old thread.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Simple Client - Server problems (Async Sockets )
    By Cpp_Noob in forum Networking/Device Communication
    Replies: 4
    Last Post: 06-19-2009, 07:12 AM
  2. sockets in linux question
    By matrixon in forum Networking/Device Communication
    Replies: 6
    Last Post: 08-27-2006, 01:48 PM
  3. Need winsock select() client & server source code or tutorial
    By draggy in forum Networking/Device Communication
    Replies: 2
    Last Post: 06-19-2006, 11:49 AM
  4. Linux C source code formatter utility
    By BobS0327 in forum Tech Board
    Replies: 2
    Last Post: 04-08-2006, 06:53 PM
  5. Linux Network Programing
    By Unregistered in forum Linux Programming
    Replies: 2
    Last Post: 07-27-2002, 06:08 AM