Click here to Skip to main content
15,867,686 members
Articles / Desktop Programming / MFC
Article

Ping for Windows

Rate me:
Please Sign up or sign in to vote.
4.33/5 (38 votes)
15 Feb 2001 429.5K   21.9K   72   84
A simple Windows based ping program
  • Download source files - 133 Kb
  • Download executable - 108 Kb
  • Sample Image - WinPing.jpg

    Introduction

    This is an extremely simple Ping program for Windows. I'm using Chris Maunder's auto-completion combo box class and there's code borrowed from a Winsock 2.0 book. Credits are mentioned on the About box.

    Please see the code for details - it's quite simple.

    History

    7 Sep 2000:

    • Fixes to MRU Combo
    • Fixes to Duplicate host/ip addresses
    • Fixes to Ping times (Now correct)

    16 Sep 2001:

    • Updated source code

    License

    This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

    A list of licenses authors might use can be found here


    Written By
    Software Developer (Senior) Software Kinetics
    United Kingdom United Kingdom




    Software Kinetics
    are experts in developing customised and bespoke applications and have expertise in the development of desktop, mobile and internet applications on Windows.


    We specialise in:

    • User Interface Design
    • Desktop Development
    • Windows Phone Development
    • Windows Presentation Framework
    • Windows Forms
    • Windows Communication Framework
    • Windows Services
    • Network Applications
    • Database Applications
    • Web Development
    • Web Services
    • Silverlight
    • ASP.net


    Visit Software Kinetics

    Comments and Discussions

     
    GeneralWSAError: 10022 Pin
    kkooccuurr30-May-05 10:51
    kkooccuurr30-May-05 10:51 
    Generalsource files Pin
    surfman1910-Feb-04 1:49
    surfman1910-Feb-04 1:49 
    QuestionHow can I stop the ping-request Pin
    dressman198113-Dec-03 5:39
    dressman198113-Dec-03 5:39 
    QuestionHow to send and receive a broadcast ping Pin
    Member 60945114-Oct-03 17:33
    Member 60945114-Oct-03 17:33 
    Generalping under XP Pin
    yyyKaktus29-Sep-03 19:22
    yyyKaktus29-Sep-03 19:22 
    GeneralRe: ping under XP Pin
    mohammad hajibegloo14-May-04 23:38
    mohammad hajibegloo14-May-04 23:38 
    GeneralRe: ping under XP Pin
    same.wong21-Aug-12 15:13
    same.wong21-Aug-12 15:13 
    GeneralBug Pin
    Yossi Meir15-Mar-03 21:47
    Yossi Meir15-Mar-03 21:47 
    I ran this application twice and the ping response
    of the first ping appears on the second application.
    GeneralRe: Bug Pin
    Hanney Wang16-Mar-03 19:08
    Hanney Wang16-Mar-03 19:08 
    GeneralNot work very well - A bug. Pin
    Hanney Wang24-Dec-02 16:36
    Hanney Wang24-Dec-02 16:36 
    GeneralRe: Not work very well - A bug. Pin
    Jesus Oliva1-Feb-03 9:47
    Jesus Oliva1-Feb-03 9:47 
    GeneralRe: Not work very well - A bug. Pin
    NormDroid1-Feb-03 22:14
    professionalNormDroid1-Feb-03 22:14 
    GeneralRe: Not work very well - A bug. Pin
    Hanney Wang15-Mar-03 2:25
    Hanney Wang15-Mar-03 2:25 
    GeneralRe: Not work very well - A bug - for Sonu Kapoor . Pin
    Hanney Wang30-Mar-03 15:36
    Hanney Wang30-Mar-03 15:36 
    GeneralRe: Not work very well - A bug - for Sonu Kapoor . Pin
    Sonu Kapoor1-Apr-03 0:39
    Sonu Kapoor1-Apr-03 0:39 
    GeneralRe: Not work very well - A bug - for Sonu Kapoor . Pin
    Yin Gang21-Sep-05 21:32
    Yin Gang21-Sep-05 21:32 
    QuestionCould you give me a TIP? Pin
    one_eddie22-Nov-02 12:45
    one_eddie22-Nov-02 12:45 
    Generalurgent !!!!! Pin
    balajiParthasarathy19-Aug-02 3:46
    sussbalajiParthasarathy19-Aug-02 3:46 
    GeneralRe: urgent !!!!! Pin
    Daniel 'Tak' M.19-Oct-02 6:43
    Daniel 'Tak' M.19-Oct-02 6:43 
    GeneralFinding local IP Pin
    Camran3-Jul-02 18:05
    Camran3-Jul-02 18:05 
    GeneralRe: Finding local IP Pin
    3-Jul-02 21:11
    suss3-Jul-02 21:11 
    GeneralRe: Finding local IP Pin
    3-Jul-02 21:23
    suss3-Jul-02 21:23 
    GeneralRe: Finding local IP Pin
    6-Jul-02 15:22
    suss6-Jul-02 15:22 
    GeneralNeed Help!!!! Pin
    19-May-02 13:12
    suss19-May-02 13:12 
    GeneralRe: Need Help!!!! Pin
    NormDroid3-Jul-02 21:14
    professionalNormDroid3-Jul-02 21:14 

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.