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

     
    QuestionLicense? Pin
    Member 132538641-Jan-19 19:40
    Member 132538641-Jan-19 19:40 
    QuestionIt's pinging a virtual machine on VMWare when I pause that Pin
    cnalmeida14-Oct-15 3:51
    cnalmeida14-Oct-15 3:51 
    QuestionUpdates for vs2013 - Continued Pin
    rhfritz19-Sep-15 8:49
    rhfritz19-Sep-15 8:49 
    SuggestionUpdates for vs2013 Pin
    rhfritz19-Sep-15 8:43
    rhfritz19-Sep-15 8:43 
    QuestionPing Pin
    Member 1170006121-May-15 9:28
    Member 1170006121-May-15 9:28 
    QuestionAwesome, thank you! Pin
    J Eakin21-Mar-13 8:35
    J Eakin21-Mar-13 8:35 
    Generalyou are a hero ! man Pin
    batsword4-Sep-10 19:17
    batsword4-Sep-10 19:17 
    GeneralBug Pin
    StKgn22-Apr-10 0:12
    StKgn22-Apr-10 0:12 
    GeneralRe: Bug Pin
    NormDroid22-Apr-10 0:28
    professionalNormDroid22-Apr-10 0:28 
    GeneralNon administrator account Pin
    saenz tomas24-Mar-10 7:08
    saenz tomas24-Mar-10 7:08 
    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 
    "An attempt was made to access a socket in a way forbidden by its access permissions. "

    Try running as administrator.
    Also make sure you don't do a broadcast like 255.255.255.255
    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 

    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.