Click here to Skip to main content
15,868,016 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

     
    GeneralMy vote of 1 Pin
    Sheetal_Joshi8-Dec-09 6:10
    Sheetal_Joshi8-Dec-09 6:10 
    Generalit is not a real multi-thread ? [modified] Pin
    AhmedOsamaMoh4-Dec-08 10:51
    AhmedOsamaMoh4-Dec-08 10:51 
    GeneralNot working on Vista Pin
    TRK29-Oct-07 9:35
    TRK29-Oct-07 9:35 
    GeneralRe: Not working on Vista Pin
    Member 446097211-Mar-08 4:30
    Member 446097211-Mar-08 4:30 
    GeneralRe: Not working on Vista Pin
    ashishbhadiyadra13-Apr-09 19:14
    ashishbhadiyadra13-Apr-09 19:14 
    GeneralRe: Not working on Vista Pin
    cniculescu23-Sep-09 10:21
    cniculescu23-Sep-09 10:21 
    GeneralRe: Not working on Vista Pin
    liugh69819-Feb-10 22:45
    liugh69819-Feb-10 22:45 
    GeneralRe: Not working on Vista Pin
    steveh211212-Jul-14 22:24
    steveh211212-Jul-14 22:24 
    GeneralRe: Not working on Vista Pin
    zhangchunming11-Mar-12 1:35
    zhangchunming11-Mar-12 1:35 
    GeneralExcellent work! Pin
    428820-Aug-07 10:35
    428820-Aug-07 10:35 
    GeneralCalling OnTimer(); after calling socket( Pin
    marreoragarn10-May-07 5:33
    marreoragarn10-May-07 5:33 
    Generalwhen my firewall is open this ping program cannot ping to the web server Pin
    sude6-Dec-06 16:10
    sude6-Dec-06 16:10 
    GeneralRequest Pin
    rahul_s99915-Jun-06 14:30
    rahul_s99915-Jun-06 14:30 
    GeneralRange maintaining Pin
    0pal13-Apr-06 21:10
    0pal13-Apr-06 21:10 
    GeneralRe: Range maintaining Pin
    webmastersitesi5-Jan-09 18:15
    webmastersitesi5-Jan-09 18:15 
    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 
    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 

    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.