Thread: IP address discovery

  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    2

    Post IP address discovery

    Can anybody write a IP address discovery socket program using UDP. The application should be of client-server type, wherein the client is listening on a pre-defined port no. for broadcast packets from the server and replies back to the server with its IP address.

    Thanks!
    abinash

  2. #2
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,210
    Are you offering money for such a program?

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    This is a little story about four people named Everybody, Somebody, Anybody, and Nobody.

    There was an important program to be done and Everybody was sure that Somebody would do it.

    Anybody could have done it, but Nobody did it.

    Somebody got angry about that because it was Everybody's program.

    Everybody thought that Anybody could do it, but Nobody realized that Everybody wouldn't do it.

    It ended up that Everybody blamed Somebody when Nobody did what Anybody could have done
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #4
    Registered User
    Join Date
    Mar 2005
    Location
    Juneda
    Posts
    291
    Salem: I'll take the freedom to get a copy of your story

    Niara

  5. #5
    Registered User
    Join Date
    Apr 2007
    Posts
    2
    Thanks a lot..

  6. #6
    Registered User divineleft's Avatar
    Join Date
    Jul 2006
    Posts
    158
    Quote Originally Posted by abinash View Post
    Thanks a lot..
    You expect people to just write code for you?

    We're willing to help you if you have any specific problems, but don't think that people will do work that you should be doing yourself.

  7. #7
    Registered User
    Join Date
    Sep 2004
    Posts
    83
    Quote Originally Posted by abinash View Post
    Can anybody blah blah blah
    dude...i know i'm not the greatest coder...but even i wouldn't ask a question like that. you must've had huge cajones before clicking on submit.

    bg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linux raw socket programming
    By cnb in forum Networking/Device Communication
    Replies: 17
    Last Post: 11-08-2010, 08:56 AM
  2. What does this do (Windows API)?
    By EVOEx in forum Windows Programming
    Replies: 4
    Last Post: 12-19-2008, 10:48 AM
  3. DX - CreateDevice - D3DERR_INVALIDCALL
    By Tonto in forum Game Programming
    Replies: 3
    Last Post: 12-01-2006, 07:17 PM
  4. Im so lost at . .
    By hermit in forum C Programming
    Replies: 18
    Last Post: 05-15-2002, 01:26 AM