A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » General XP issues or comments
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Retaining ping response



 
 
Thread Tools Display Modes
  #1  
Old August 14th 18, 08:29 PM posted to microsoft.public.windowsxp.general
KenK
external usenet poster
 
Posts: 374
Default Retaining ping response

I'm looking to see if an email server exists.

I type in 'ping' and its name in the Run dialog. Three responses come up
very briefly, then the display disappears. How can I get it to remain on
the screen? I used to know how but have forgotten.

TIA to those with better memories, or at least younger memories.


--
I love a good meal! That's why I don't cook.






Ads
  #2  
Old August 14th 18, 09:17 PM posted to microsoft.public.windowsxp.general
Paul[_32_]
external usenet poster
 
Posts: 7,082
Default Retaining ping response

KenK wrote:
I'm looking to see if an email server exists.

I type in 'ping' and its name in the Run dialog. Three responses come up
very briefly, then the display disappears. How can I get it to remain on
the screen? I used to know how but have forgotten.

TIA to those with better memories, or at least younger memories.



Start a Command Prompt via "cmd" in Start : Run
then type the "ping www.some.com" in the new Command window ?

*******

Or using Start : Run

cmd /k ping www.sun.com

and the Command window will remain open until you dismiss it.

Typing

cmd /?

will give a long help page with the options.

When constructing long commands with paths having
spaces, you'll need copious usage of double quotes
around things, to make it work well. In the above,
I got away without them.

Paul
  #3  
Old August 14th 18, 09:39 PM posted to microsoft.public.windowsxp.general
VanguardLH[_2_]
external usenet poster
 
Posts: 9,596
Default Retaining ping response

KenK wrote:

I'm looking to see if an email server exists.

I type in 'ping' and its name in the Run dialog. Three responses come up
very briefly, then the display disappears. How can I get it to remain on
the screen? I used to know how but have forgotten.

TIA to those with better memories, or at least younger memories.


DOS-mode programs do not supply their own window. They use the console
window (stdout) of the shell in which they run. If you run a DOS-mode
program by having the OS invoke a shell for it, the shell loads, the
program runs, and then the shell unloads which takes its console window
with it. If you want to continue viewing the output of the program, you
need to keep the shell open - so load the shell yourself. Run:

cmd.exe

Then enter the DOS-mode program you want to run, like ping.exe. If you
want to run programs that require administrator privileges, you need to
load the command shell with admin privs.

Note that not all servers will respond to ping. Many consider it a
waste of their resources to be spending time communicating with a client
that just wants to see if the server is both reachable and responsive.
The admin of the server or boundary host (to their server farm) may
disable ICMP 0 and 8 for echo and reply (ping) in their firewall. ICMP
packets can be variable in size, and ping has been abused in [D]DOS
([Distributed] Denial of Service) attacks to overload a server and to
create covert channels (ICMP tunnels) for communication.

Perhaps a better way to see if you can reach and connected to an e-mail
server is to start a session with it. Use telnet to connect to the
server. Even if it uses SSL/TSL, you can still check if a simple
non-encrypted session can be started. Run:

telnet hostname port

This is a DOS-mode program whose stdout is the shell's console window.
So load a shell and then run the command, so you can continue seeing the
output of the program.

You are looking for the server to connect and to respond with a status,
not to actually perform a mail session. hostname is whatever is the
hostname for the mail server; e.g., mail.domain.tld. port depends on
what type of mail server to which you are connecting. You didn't say if
you are trying to connect to a POP or IMAP server (for you to receive
e-mail) or to an SMTP server (for you to send e-mail). For ports, use
whatever port your e-mail provider says to use. Typically the port
numbers a POP = 110, POPS = 995, IMAP = 143, IMAPS = 993, SMTP = 587
or 25, and SMTPS = 465.

All ping will tell you is if you reached the server host, not if the
server software is running on that host. IMCP will return responses if
the networking is working on that host. It does not involve the server
programs. Many server programs can run on the same host hence the
differentiation by using different port numbers to distinguish which
listening process (server) to which you want to connect on the same
host. If you want to check you can reach the server host *and* that the
server program (POP, IMAP, SMTP) is actually running and responsive,
then telnet to the host to establish a session with the listener there.
  #4  
Old August 15th 18, 02:17 AM posted to microsoft.public.windowsxp.general
JT[_6_]
external usenet poster
 
Posts: 66
Default Retaining ping response

KenK wrote:

I'm looking to see if an email server exists.

I type in 'ping' and its name in the Run dialog. Three responses come
up very briefly, then the display disappears. How can I get it to
remain on the screen? I used to know how but have forgotten.

TIA to those with better memories, or at least younger memories.


Continuos ping?

Ping -t hostname or ip address

i.e. ping -t google.com

Just X out of command prompt when your done.

Hope this helps.


JT


--

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 01:11 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2004-2018 PCbanter.
The comments are property of their posters.