i want to make a batch file to ping an ip. it must have 4 conditions. 1: if destination ip is reach able then it should display "host reachable" 2: if destination ip not reachable then it should display "host not reachable" 3: if request times out then it should display "timed out" 4: if any other error then it should display "undetected error" i am able to make batch file for first two conditions, but how to trace request timed out. any body can help regarding this? thanks.

Member Avatar
Member Avatar
+0 forum 1

Hi, I am not begging for code here, but rather some concepts / ideas on how to accomplish this. I code in VB.NET, but that isn't really too relevant at this point. I am trying to develop something similar to a radar system. I have that all working and the data coming in just fine. Now I want to add an audible ping to the application that gives information about the data. Sort of like the sonar ping you see on submarine / boat movies. I want the frequency of the ping to indicate the range to the target, and …

Member Avatar
Member Avatar
+0 forum 1

i'm having a problem when i try to telnet my netgear router (JWNR2000v2) i could ping it but when i try to telnet it using puTTy, it says that the connection is closed by the remote host. i tried using telnetEnable.exe but i don't know if its working or not. i also tried to connect to other routers and it's working just fine, so i'm guessing it has something to do with the netgear router or its settings. what could my problem be? hope you guys can help me thanks

Member Avatar
Member Avatar
+0 forum 9

Hi, I just reloaded my Dell desktop (formatted the hard drive) and now I cannot connect to the internet. I looked in Device Manager and there are no question marks or exclamation points. I am receiving packets (looked at the properties of my connection), but I cannot ping www.google.com via cmd window. I also tried right clicking on my connection and then clicking Properties and clicked Internet Protocol (TCP/IP) and selected the Microsoft v 6 (or something like that). When I click on Properties on TCPIP now, I have the settings as Obtain IP Address AUtomatically and Automatic private ip …

Member Avatar
Member Avatar
+0 forum 12

I'm building a web application for a small office, to run their daily business. The employees will be logged in and working in the system thorugh the whole day. My client is located in Israel, and I'm shopping for a hosting cloud provider for him to host the application that I'll build My options is a server in the US, in Europe, and a local one - in Israel. A local provider is far more expensive. I need to estimsate how much will the location of the server influence the reponsiveness of the system. And need to do it before …

Member Avatar
Member Avatar
+0 forum 3

Hello guys, i have been away in the last few days, because of work, so i am on again. I am trying to ping a series of hosts and then add info about the ping in a row. I have a DB called ad, with a table called ping with row comp and row ping. In row comp i have 400+ hostnames, and in row ping i need to insert the stat of that host. (if it is online or not) I have the following code but if is not updating the row ping. The simple PHP ping code is: …

Member Avatar
Member Avatar
+0 forum 15

I have mobile web services written in PHP. Ant it is running on Apache Linux. Suddenly since yesterday our server became too slow. We found the reason that there are many continuous connection is coming to our server. Which is engaging bandwidth and making server slow. We have asked hosting provider GoDaddy to restrict some country from firewall but it is not suggested by them. I have tried with htaccess but it doesnt work. What is the idle solution for this?

Member Avatar
Member Avatar
+0 forum 4

Friends, I am Developing a Windows Application For Lan, I am able to Scaning Pc's Name Which Are Connected on My Lan on Same Workgroup, But I have Problem That If Sudden I Get Lost Connection With any Client Pc, or Client Pc Become Shut Down So it Should Make a Indication, How Can I Do That. I Were Thinking to Ping Every Pc On Timer Event But In this Condition I am Able to Scanning The Ip Address of Client Pc's, Please Suggest How Can i Do This or The Other Way to Solve My Problem, Please Help Me...........

Member Avatar
Member Avatar
+0 forum 2

1) I want to make a windows service that simply pings the IP address 2) The IP addresses is located in a simple text file 3) If the service cant ping the IP's (unreachable) it sends a simple e-mail to an email address located in a simple text file.

Member Avatar
Member Avatar
+0 forum 1

hi I have a question regarding my situation in our LAN, when I ping local address by hostname (to any computer) (I'm using 192.168.0.0/16). it result in stange ip 118.98.96.151, even though after I check in the other pc the address is in 192.168 range. but if I ping using its real IP address it still connecting. (so right now to communicate with other computer I use IP address instead host name). my configuration is: - using AD server 2008, static IP. - all windows client. - two pc as internet gateway, one microtic, one pfsense. anyone know how to …

Member Avatar
Member Avatar
+0 forum 1

How do you ping an ip addresses in php. and give the the results as if you are on cmd program in windows <?php system(‘ping -c 192.168.0.104’); // Ping IP address. echo “pinged”; ?>

Member Avatar
Member Avatar
+0 forum 1

I've client and server on my wireless LAN , I can easily ping from client to server any time n, similarly i can ping from server to client for one time and after the application is run. I cannot ping again to the client from server. Why this is happening please help

Member Avatar
Member Avatar
+0 forum 4

If you cannot ping any websites and cannot get updartes or upgrades, you might have a nameserver issue. GI just installed a fresh copy of Ubuntu Server 12.04 and this has been an issue since I installed it. I did not know what to do, but I check the /etc/resolv.conf file and it was totally blank. The format for this should be (as a sample) search mysite.biz nameserver ROUTER nameserver OTHER ROUTER You might need to tweak this a bit, I just wrote the same router twice. Save the file, exit and voila! Internet connection again!

Member Avatar
Member Avatar
+0 forum 2

I wish re-index my blog after i post new content? I found how send new site map, but i wish send ping after i add post. I don't wish send all new site map. Maybe google have some api?

Member Avatar
Member Avatar
+0 forum 11

So I need to write an ping client and server for my networking class. Server code is running no problem but I'm a bit lost on my client code. I copy and pasted the server code because I figured it would be easier to modify.. Please check this out.....THE PROBLEM IS LINES 43 AND 44 IN THE CLIENT CODE. IDK WHAT IT IS THO Server: import socket import random # to create random numbers import time # for putting the process to sleep (suspend) PING_REQUEST_SIZE = 1024 class PingServer: def __init__(self, port): self.port = port self.__LOSS_RATE = 0.5 self.__AVERAGE_DELAY = …

Member Avatar
+0 forum 0

Hi guys, I have a problem with my synology NAS that I can not seem to figure out myself. Everything seemed to work like a charm before, but when I took out my router from my network and put it in again things got ugly. Before I was able to ping the NAS and add it as a network disk in windows explorer. After, pinging goes wrong accept when I go to the web interface of the NAS at the same time as pinging. The disk can not be accessed through windows explorer anymore. Ping: > Pinging 192.168.0.123 with 32 …

Member Avatar
Member Avatar
+0 forum 2

hi im amir im a noob in c# and need some help i coding a net based app and i need to ping to website if ok run app else close app the bug is when im online show ok message but when im offline app runnig and show error for debugging. please help thankyou here is my code [code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Diagnostics; //////////////////////////////////// using System.Net.NetworkInformation; //////////////////////////////////// namespace CheckInternetConnection { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs …

Member Avatar
Member Avatar
+0 forum 5

Im new to this and im working on a project which is to set up client/server network. Server: Windows 2003 Client: XP After adding users to active directory and log on to the client machine, I keep on getting this message "[B]Windows cannot connect to the domain, either because the domain controller is down or otherwise unavailable, or because your computer account was not found. Please try again later[/B]." I log on locally and ping the server and it works fine. what am i missing. Regards

Member Avatar
Member Avatar
+0 forum 3

Hi, thanks in advance to whoever can help me out here. I guess the issues with my computer are currently. 1. ping.exe using up a large chunk of the CPU, very erratic but sometimes going near 100% 2. When I open Firefox or Internet Explorer, another tab or window automatically opens for internetpayday.co, and when I try to close that i just get more pop-ups. Also if I do a Google search and then click on a result I get redirected to some other search site or more pop-ups (9newstoday.net is another one). 3. When I try to connect to …

Member Avatar
Member Avatar
+0 forum 5

I removed a virus via MSE and afterwards have lost the ability to connect to the internet. This is a windows 7 professional 32 bit laptop. Staticly i can set the ip address and dns server and can ping the DG and the DNS server. I can also ping google by IP address. However cannot reach the website through IP address. I have tried winsock resets along with reinstallation of network adapter drivers. Even have done a system restore to a month back but so far none have worked. I have been scouring the web for the last 4 hours …

Member Avatar
Member Avatar
+0 forum 5

Recently, I removed Windows XP Security 2012 and was left with a process called ping.exe which uses enormous amounts of CPU. I am in the process of completing the sticky guide ([url]http://www.daniweb.com/hardware-and-software/microsoft-windows/viruses-spyware-and-other-nasties/threads/134865[/url]) and am currently running scan #2 using GMER. I have ran the Windows Malicious Software Removal Tool, ATF-Cleaner, and GMER while using safe mode. [B]Is it OK for me to be in safe mode when creating these logs?[/B] ALSO, the first thing I ever did was run Malwarebytes Anti-malware, but it did not catch anything. WMSRT and TDSSkiller did not find anything as well. I've read that this …

Member Avatar
Member Avatar
+0 forum 27

Hi all, I am unable to reach a particular website from my home computer. But its easily accessible from office computer. I have cleared the cache in the browser, tried to flush the dns cache using ipconfig /flushdns. Nothing helps. Ping / tracert says - "Request timed out". Any pointers? Thanks in advance.

Member Avatar
Member Avatar
+0 forum 13

Hi All, I have a problem on one of my site where I have Quintum VOIP gateways in 2 separate buildings that are connected with a Fiber link. When running the ping command I loose packets to the Quintums but not to PC's. Today their Exchange server went down and for a while I had no packet loss. When removing the Quintums from their network and putting them on a separate switch, I get no packet loss.We have moved the Quintums to different switches, replaced the patch leads. Any help will be greatly appreciated. Thank you Max

Member Avatar
Member Avatar
+0 forum 2

Hi everyone; I need some help Im want to write a WIndows service C# app which will check some urls and choose the one with the lowest ping (the one with high data transfer speed) stream data from that server, and alse check all other servers and write in log file if any of servers is OFF or can't be accesed. And also if current server speed's down, it should switch to other server automaticly. Please help people, i'm new in C# and moreover has never written any app like this,

Member Avatar
Member Avatar
+0 forum 9

Hello, I am trying to troubleshoot what is seeming to be a networking issue. The network that I am working with has 4 computers going through a linksys wireless router, some wireless, some hard wired. The problem computer seems to be denying all inbound connection and we cannot figure out why. This computer has internet access (in fact, I'm making this post from it) just fine and it can ping every other computer on the network (192.168.1.101, 192.168.1.102, and 192.168.1.103) , but none of the other computers can ping this computer; nor can the computer ping itself (192.168.1.104 - Request …

Member Avatar
Member Avatar
+0 forum 3

hello! I'm developing a software to monitor communication to different locations. the principle is simple: send ping every second and display the results in real time (ms delay, packet loss etc) It's also important to mention that I'm running the software from Linux, so in order to ping from my software i choose the subporocess.Popen way, because opening sockets require you to be logged as root user. And i don't want to give everyone root access to the server.. Here is the class reponsible for the pinging: [CODE]class WorkerThread(QThread): def __init__(self,receiver,sitename): QThread.__init__(self) global time_manager time_manager[sitename] = [time.time(),0,0] #for statistic purpeses …

Member Avatar
+0 forum 0

In my office I have two machines connected two networks - one has IP say 21..... and another has IP say 25... Now the thing is that both of the machines can access Internet. But there is a problem pinging among each other. I have been told that has been done on purpose. I am not sure what is going on here. If there is no private VLAN issues there and if each machine has an IP address then why would not they be able to ping each other. Well this is not an issue here, I need to understand …

Member Avatar
Member Avatar
+0 forum 4

[COLOR="Green"]What is ping -a, -n , -l , -f, -i , -v ,-r, -s, -j, -k, -w ?? Please explains these things in details as i am terms what does these commands do and what are their functions ?? I have searched alot on google but didnot get specific results [/COLOR]

Member Avatar
Member Avatar
+0 forum 4

Hi all, I need a php script that gets the IP address of a user entered website, something like this: $site = 'www.google.com'; $ip = ping($site); obviously replacing ping with a command that actually exists! Thanks in advance. MAX

Member Avatar
Member Avatar
+0 forum 2

Hi, I would just like to know if it's possible to ping a certain port from a jsp page. For example: If I had a Apache_Status.jsp on my machine and I wanted to ping it on another machine at: 123.456.78.90:8080 And I had a Glassfish_Status.jsp on my machine and I wanted to ping it on another machine at: 321.654.87.09:8484 Would this be possible? Thanks, -Ashton.

Member Avatar
Member Avatar
+0 forum 1

The End.