connectivity

How to test if web site written in ASP.Net still alive?

Hi I need to write a simple WinForms apps that can be fired to test if a website is still alive and that that website is able to read from a database. I am using the whole "(HttpWebResponse)myHttpWebRequest.GetResponse()" thing in c# to test whether the site is alive, but I am at a lose for how to get a test page in my website to write...

Android: How to check if the server is available?

Hi, I am developing an application which connects to the server. By now the login and data transmission works fine if theserver is available. The problem arises when the server is unavailable. In this case the method sends a login request and waits for the response. Does anyone know how to check if the server is available (visible)? T...

Smart methods for an Embedded Linux device to detect Internet connectivity

Our team is developing a Internet Media device based on Linux 2.6. Currently we detect whether Internet connectivity is established (via a wired Ethernet i/f) by pinging www.google.com Some networks we have tested the device on do not support ICMP packet forwarding so our application code mistakenly reports the Internet as unavailable ...

WCF Server Push connectivity test. Ping()?

Using techniques as hinted at in: http://msdn.microsoft.com/en-us/library/system.servicemodel.servicecontractattribute.callbackcontract.aspx I am implementing a ServerPush setup for my API to get realtime notifications from a server of events (no polling). Basically, the Server has a RegisterMe() and UnregisterMe() method and the clie...

Server application have to make pings to N clients. Is there way to make it multithreaded?

I write server application (Windows Server 2003) making upto 1000 ping calls to clients and waiting for receive responses. As ping uses ICMP connection, I've found no way to define from which IP the server receives the responses. Currently I use blocking by Mutex but it practically removes all bonus of multhithreading. Is there another w...

WCF, client can't connect unless on same machine

Hello, I have a simple ASP.NET web app which uses a WCF Client to talk to a simple WCF backed Windows Service. All worked fine in local environments. We deployed to dev, which also worked fine. However on DEV - the Web server and App server are on the same machine. Now that we have deployed to QA, we get the 'The socket connection was...

How to show connectivity of nodes graphically with PHP?

To reflect: A-B A-C A-D .. B-D .. Is there an easy way to do this? ...

Capturing network status change event

I am trying to get events when the internet connection is reestablished after it is lost. It is for a data transfer software that I am developing. If I lose the network during data transfer, I would like to be notified when it is back and continue the transfer automatically. I can of course create a separate thread and check the network...

Vc++ Database connectivity Issue

We are using VC++ to connect to the SQl2005 Express in my local machine. But we are able to access when there is network connectivity to my system. But we are not able to access when we are removed the network connectivity. Please help me out if any one faced with this scenario. ...

Making bash script to check connectivity and change connection if necessary. Help me improve it?

My connection is flaky, however I have a backup one. I made some bash script to check for connectivity and change connection if the present one is dead. Please help me improve them. The scripts almost works, except for not waiting long enough to receive an IP (it cycles to next step in the until loop too quick). Here goes: #!/bin/bash ...

Deploy Connectivity Platform Folder/Files

I'm using the Microsoft.SmartDevice.Connectivity features, but I do not know how to get the CoreCon Folder and files under "C:\Documents and Settings\All Users\Application Data\Microsoft\corecon\1.0\1033" deployed as part of an install project. The "new DatastoreManager(1033)" fails becouse users of my app do not have that folder and dev...

Android AVD With GoogleApi, Not Getting Network Connection

I am working on a Windows XP Machine. When running AVDs out of Eclipse, I am getting "No Network Connection" when I am plugged into my company's network and using an AVD that was built with the "Google APIs by Google Inc., Android API 7, revision 1". If I use this same AVD (Google API) and connect to the internet through a Verizon Wirel...

Android - Connectivity Questions

I have a couple of questions about connectivity on Android, if anyone has any insight it would be great. 1) What is the default when an application wants to wirelessly connect? Is it wlan? And if wlan is switched off or there is no access points around is it 3g or gprs? 2) Is a device always ip connected? Or when its disabled from wlan...

Detect network connection type on Android

How do you detect the network connection type on Android? Is it through ConnectivityManager.getActiveNetworkInfo().getType(), and the answer is limited to Wifi and mobile? ...

Android - modes of connectivity, device identification and device inter-communication?

Can someone explain a couple of very simple concepts to me - I'm interested in mobile devices running android and how they are identified over networks. Some scenarios: Device is connected over WiFi - presumably the device has a standard IP address as with any host and can communicate with any other android host over TCP/IP (assuming i...

Network Connectivity using System.Net.Sockets.TcpClient

Hi, Can we use tcpClient to test the network connectivity between the two different servers other than where the programe will run. Regards ...

How can I emulate/fake/immitate an SD card with a live connection to a computer?

I have a machine in a remote location that contains an SD card slot as its only output. I would like to read the output without needing to physically go to the machine and remove the card. My idea is to place a PC next to the machine and connect the SD card slot of the machine to a USB or serial port or some other input on the PC. Is t...

Multiple peers connected.

I'm developing a game that requires up to four iPhones or iPod Touch to connect each other to play in turns. My question is, how can I accomplish this via GameKit. I've read that using client/server sessions is the way of doing it. But I can't find any examples that would illustrate this. Is it really possible to do it, or there can on...

Is it possible to integrate Nokia connectivity API with asp.net?

Is it possible to integrate Nokia connectivity API with asp.net? If so, How to get started? Any good reference... ...

How can I connect directly to a mobile device over 3G?

I'd like to be able to deploy a lightweight web server on my mobile device (android) but there are obviously NAT issues with respect to the mobile provider's network. Is there anyway I can make my device publicly available/addressable over the internet? ...