473,588 Members | 2,473 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

No ping on connection - reconnect

When I ping my server over the internet connection and the server isn't
responding due to the connection not working properly is it possible in .Net
to reconnect the connection if the ping is unsuccesful?

Thanks.
Dec 28 '05 #1
1 1334
If your connection is lost, it's most likely a problem with either the
server itself or the infrastructure in between. In many cases, you probably
have to reset some hardware device which is most likely not going to respond
to a .NET program.

Additionally, just because the ping is unsuccessful doesn't mean that
connectivity is lost. It is possible to disable ping responses so as to
simulate a downed server.

In general, if the problem is on the server side of your ping, you probably
don't have much control from the client.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"John" <jh******@msn.c om> wrote in message
news:OT******** *****@TK2MSFTNG P10.phx.gbl...
When I ping my server over the internet connection and the server isn't
responding due to the connection not working properly is it possible in
.Net to reconnect the connection if the ping is unsuccesful?

Thanks.

Dec 28 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1019
by: Benoit St-Jean | last post by:
I keep getting connection lost errors from a DOS windows mysql client on Windows 2000 from which I access a MySQL server (3.23.58) on RH9 (located on a dedicated server outside the country). ERROR 2006: MySQL server has gone away No connection. Trying to reconnect... SQL statements are okay, tables are okay but whenever I stay idle for a few seconds, I get an error. If I retry, I get a reconnect and everything goes well... Then the...
3
12590
by: Ol!v!é | last post by:
I have an ADP Project in MsAccess XP, with an MSSQL-backand (MSDE). I would like to set the Connection of the project from VBA, so all the forms and reports can use it. Normally, I set this through the File->Connection menu, but if the network connection falls away for a moment, I have to reconnect manually. I would like to reconnect automatically with VBA. I've tried using CurrentProject.Connection.Open and...
8
18377
by: Nico Grubert | last post by:
Hi there, I could not find any "ping" Class or Handler in python (2.3.5) to ping a machine. I just need to "ping" a machine to see if its answering. What's the best way to do it? Kind regards, Nico
6
3540
by: Sharon | last post by:
Hi all. I'm trying first time async socket connection. In all the examples i've seen, the server connection is closed when the message is complete. Is it common to close the connection after every message? Also, the message is complete, meaning there is no more data to read, only when the client closes the connection. My solution is to keep the connection open, and send a terminator / eof at the end of every message. Is it the right...
10
3156
by: Steven Blair | last post by:
As I understand it, if I create a connection object in my application and close the connection, the next time I open a connection with the same connection string I should be using a pooled connection? Is this possible over different instances of a class. For example Instance 1 of my dll is alive and creates a connection to a Database. The class goes out of scope (I have closed the connection by this stage)
5
15707
by: Arno | last post by:
reposted with the right microsoft managed newsgroup ID: Sorry for the inconvinience Hi, I've written a class for client-socket connection, but I get a lot of times the error message "Unable to read data from the transport connection" when restart reading the stream with socket.BeginRead in the Sub SocketIncomingMsg. I'm debugging now for weeks, but I can't detect where it's
1
6356
by: Jay | last post by:
I have a client app sending messages over the socket on a certain port. In the client app: I do this for every message I need to send: 1. Create a socket and connect. 2. Send message 3. Close socket. The Listener requires that the client keep the socket connected while sending messages..which is every 20-30 seconds. My question is: Can I keep the connection open for the whole day? Connect
9
6265
by: Gordon | last post by:
I want to add a feature to a project I'm working on where i have multiple users set up on my Postgres database with varying levels of access. At the bare minimum there will be a login user who only has read access to the users table so that users can log in. Once a user has been logged in successfully I want to escalate that user's access level to one appropriate to their role, which will include switching the postgres user they are...
3
2710
by: joes.mailing.lists | last post by:
Hi, I'm working a web application using comet (Orbited) for real-time status updates and messaging. The messaging system works great, but I've noticed that if I disconnect my laptop internet connection, and then reconnect it the messaging does not reload with the connection. It seems that gmail/googletalk implement a feature whereby the chat section attempts to reconnect every 60s or so even when the internet connection is down. When...
0
8228
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8357
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8223
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6634
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5729
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3887
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2372
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1459
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1196
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.