Thread: how to start coding for this ?

  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    22

    how to start coding for this ?

    1) ping all defined machines in the network from time to time, and
    alert (by an indicator on a web page or screen) when some machine is
    down
    (2) periodically check HTTP and FTP ports of important machines (like
    your intranet server) to verify that services are running and
    responding properly
    (3) can check if there is any networking problem like ping delay or
    HTTP server responding slow
    (4) sysadmins can add custom service ports (other than HTTP/FTP) to
    their checklist
    (5) your application will then check if those ports are open from time
    to time
    (6) sysadmins can also define ports which SHOULD NOT be open on any
    machine, for example, IRC 666

    This is what i am trying to code in C , can someone show me the way
    how to start coding and proceed so that i can learn . I have coded
    some sockets . yet am facing probs in coding this project ... details
    on how to report error when a node in network timesout is highly
    appreciated.


    TIA

    ~bharat

    http://livejournal.com/~kewldeaf

  2. #2
    * Death to Visual Basic * Devil Panther's Avatar
    Join Date
    Aug 2001
    Posts
    768
    first of all you will need to learn network programming.
    i suggest: www.ecst.csuchico.edu/~beej/guide/net/bgnet.pdf

    this will give you basic (plus) network programming knowledge, but for sending your own PING you will need to learn how to make a raw socket, in order to create an icmp packet: http://packetstorm.widexs.nl/program...raw_socket.txt


    this is as far as i can help you, the rest is up to you.


    goodluck.
    "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe

    http://www.Bloodware.net - Developing free software for the community.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ gui for windows where to start
    By prixone in forum Windows Programming
    Replies: 2
    Last Post: 12-16-2006, 11:48 PM
  2. GNOME Desktop won't start (Mandriva)
    By psychopath in forum Tech Board
    Replies: 10
    Last Post: 07-19-2006, 01:21 PM
  3. WHEN to start game programming
    By mrcheesypants in forum Game Programming
    Replies: 18
    Last Post: 02-02-2006, 04:09 PM
  4. return to start coding?
    By talnoy in forum C++ Programming
    Replies: 1
    Last Post: 01-26-2006, 03:48 AM
  5. Need help from experts to start game programming
    By cader in forum Game Programming
    Replies: 8
    Last Post: 11-29-2005, 12:48 PM