Hi all, I want to check when the internet goes off can i capture that event .I am not getting the proper API or any example which would explain the same .
I am using socket for (TCP)communication and I open a socket when the network is available. I have observed that the socket does not give any exception in case the network goes off.
...
Hi i was wondering what would be some of possible ways to get my program working like this:
1) Server sends command (that is function name/ object creator + arguments)
2) Client decodes what command is this - using some hash table of function id's etc
Problem is - if i know that the command is to create objectX and objectX constructor ...
I'm running an http server on a non-standard port on a Mac Powerbook G4 running OSX 10.5.8 and attempting to open a page in Safari 4.0.4. When I use the IP address 127.0.0.1 in the url Safari shows an error:
Safari can’t open the page “http://12.34.56.78/” because the server where this page is located isn’t responding
where the IP ...
Hello,
I wrote the following program that is suppose to start up, show the form and connect to the server and get an messages. However when I start it nothing happens?
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System....
I used to play a MUD based on the Smaug Codebase. It was highly customized, but was the same at the core. I have the source code for this MUD, and am interested in writing my own (Just for a fun project). I've got some questions though, mostly about design aspects. Maybe someone can give me a hand?
What language should I use? Inte...
I need to upload images to a webserver and each image will have additional information that I'm thinking of encapsulating in an xml file.
I am thinking of using FtpWebRequest and FtpWebResponse.
Bue to bandwidth issues I will probably queue each image (with its associated xml file) and transfer them 1 at a time
To get the best perform...
I've been trying to find a tool for monitoring my home network. Before I go into the details, I've looked at a ton of different software and they're either an overkill or don't have what I'm looking for. Hopefully the community can help me with some advice.
My network is quite small. It consists of a modem connected to a D-Link DI-524 r...
I need to get a 2d picture of a network graph. I know the topology. Is there any tool which will help me do so?
...
I have a java process on machine A communicating with a Tomcat on machine B via TCP. The TCP connect (just the syn-syn/ack exchange) takes on the order of 100 ms consistently, while a ping request takes 1 ms (the serves are on the same LAN).
What could cause the increased delay in establishing a TCP connection?
How do I optimize it?
...
I want to build an application that gets updates from online websites like Twitter or Facebook. Currently, I haven't even got a clue on how to do this.
Also, in certain applications, like Doodle Jump, I have seen updates that pop up. Some other applications have a news section that gets updated often. How is it done? Any tutorial or wo...
I'm using Apache Mina 1.1.7 and Java 1.6. The server sends a sequence of three messages to the client in loop. Sometimes two sets of messages overlap. For example, I am expecting:
++ recv: MSGHEAD
++ recv: message body 1
++ recv: .
++ recv: MSGHEAD
++ recv: message body 2
++ recv: .
but I get this instead:
++ recv: MSGHEAD
++ recv...
I want to create Wi-Fi network.The Server must get dynamically parameters to configure it's Wi-Fi adapter as access point and clients must get same parameters to connect to the server via Wi-Fi. How can i Create Wi Fi network by C++ or C# and Windows API,may be Native Wi Fi API on that server with Wi-Fi Adapter? The way that server get...
Hi,
I am developing an application which identifies(find) all the systems connected in same network/LAN to share the data.
could please share with me how to identify(find) the systems which are connected in same network/LAN.
thanks in advance.
...
I am a newbie VB.NET 2005 programmer. I would like to develop an application that does not show my real IP Address instead it shows some fake IP Address. There is a commercial Application called "HIDE MY IP" it uses the same functionality.
I don't want to make same software, but i need this aspect of the software for my new application....
I'm about to develop an application for blackberry that transport some data through a native socket connection to a server. This can be done easily in Java but I was told the issue with this approach is that most blackberries have some sort of restricted internet access and that the socket connection would not work.
Is this true? Typic...
Hi all:
Seeing following output to netstat, what do (1)*:*, (2)*:8102, (3)*:ibm-db2 indicate respectively?
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:8102 *:* LISTEN
tcp 0 0 *:ibm-db2 *:* ...
Hello,
I upload a file from a Nokia N97 phone to server, everything works fine but after file is uploaded I want to get response from server. The problem is that I get response only after half a minute or more. From what I see the code blocks in httpConnection.getResponseCode() waiting for response. I tested it on a Sony Ericsson and I...
What's the easiest way to write a daytime client in Python?
And if there's more data of unknown size but still plain text - how do I read until the server closes the connection?
...
My config files are identical, except for connection strings.
I'm using IIS on both machines
I elevated the IIS user on the server to ensure it's not a permissions issue
No exceptions are thrown on my server where the e-mails are not being sent
I know the gmail configs are correct because I can send e-mails from my dev box.
Windows fire...
I would like to make server that listen on UDP port 162 (SNMP trap) and then forwards this traffic to multiple clients. Also important is that the source port & address stays same (address spoofing).
I guess that best tool for this would be Twisted or Scapy or maybe vanilla sockets,
only I can't find anything in the documentation for T...