network

C# passing objects TCPListener

Hi, I am new to network programming in C#. I have found the TCPListener class very useful for sending text between computers, but I was wondering if it is possible to directly send objects (assuming both client and server have the class definition) between machines without having to first convert them to string and then make an object w...

Twisted client for a send only protocol that is tolerant of disconnects.

I've decided to dip my toe into the world of asynchronous python with the help of twisted. I've implemented some of the examples from the documentation, but I'm having a difficult time finding an example of the, very simple, client I'm trying to write. In short I'd like a client which establishes a tcp connection with a server and then ...

Way to get client download speed

Hi, I have to tell to the user in a web application(using struts) the download speed. What is the best way? For the moment I simply have a .jsp filled with java scripts and I calculate the time it takes to the user to load this .jsp(I make this action 3 times and take the average speed). It worked ok when I had slow connection speed(un...

Wordpress Network

I have configured wordpress network option and it allow me to create sites but only through super admin. I want the user to register and create site and the admin only approve the site,, if someone has any idea please help me. Regards ...

C# get network connection status and speed in XP

Hi, how can I get the connection statues and speed in windows XP? ...

How to determine if network interface is connected to the Internet (i. e. the computer is online)

Hi, I need a way to determine internet availability programmatically. At now i use Ping to constantly ping some internet site. But it seems Windows 7 though determines internet availability in some other way. If computer is online there is earth icon on the network interface icon in the System Tray. The question is: is there any stand...

Disable network connection using batch file

I need to enable/disable network connections on windows with a batch file. ...

Implementing a network pager as an alternative to disk paging. Suggestions?

Hi guys, I am working on a project where I am required to create a page fault handler that uses memory from a different computer connected via a network as opposed to redirecting page faults to the local hard disk. Our idea parts from the assumption that, with the speed of the networks nowadays, it would be advantageous to use remote mem...

How do I find my "computer description" in a Java application on Windows and/or Mac?

Dear all, I have been struggling to find the "description" of the computer on which my Java application is running. What I'm after is the name used for DNS when advertising my computer on the local network ("iMac Mattijs" in the screen shots below). On Windows XP, this name can be found here: Control Panel -> System -> Computer Name ...

Network Adaptro configured with ip address or not? How to check using vc++/Windows api?

Hi Could any one share about Network Adaptor configured with ip address or not eithor using dhcp or manual. How to check using vc++/Windows api? ...

Per user network traffic accounting under Linux

I have several users on a computer running Linux (Ubuntu Lucid to be more specific). I need to see how much network traffic they generate on a specific interface. Iptables can match outgoing packages, so I could create chains for every user to be able to count outgoing network traffic. However, incoming traffic is significant too. I h...

TNetSharingManager access violation problem

I'm trying to compile this project in Delphi 2010, which uses TNetSharingManager. I have imported the type library and tried compiling it, but unfortunately I'm getting an Access Violation in this function: function TNetSharingManager.GetDefaultInterface: INetSharingManager; begin if FIntf = nil then Connect; Assert(FIntf nil,...

dummynet driver for windows server 2008 64bit

Where I can find dummynet (ipfw) driver for 64bit windows machine? ...

Social networking sites using ASP.NET or PHP

I am familiar with both ASP.NET and PHP and now want to develop a social networking website. Before start development, I have been browsing some articles / forums and etc to find out which technology is suitable to develop and handle much traffic in future. Some people prefer PHP for the development. Is this only because of: open sou...

Horizontal and Vertical Parity check codes

Hi Guys, I was reading about horizontal and vertical parity check codes. One of the properties of these codes is that the final parity check (the lower right bit) is equal to modulo 2 sum of horizontal parity checks and also equal to modulo 2 of sum of vertical parity checks. I did not understand, why this is true. I can see them in t...

Need a way in C++ to set the DNS servers on all interfaces

I'm writing a small tray app in C++ for Win XP/7, with the objective that as long as the app is running, http://*.dev will point to http://localhost. This is part of a mod for XAMPP/WAMP to permit directory-named virtual domains on localhost (so, for example, http://test.dev/index.php will map to G:\xampp\virtual\test\index.php) Part o...

Methods for guestimating upstream bitrate using http streams

Howdy, I'm writing a little Java client side app which uploads things using http streams to remote servers, i've included a progress bar to provide the user with an estimate of completion. Currently the program sends a small file to a remote server and calculates the upstream bitrate based on the filesize/total transfer time. I'm wonder...

Is there a program for sniffering physical layer?

Hi! Is there any software sniffer which is able to capture physical layer? ...

How do I re-route network traffic using Python?

Small apps like Freedom and Anti-social have created quite a stir lately. They cut you off from the internet either entirely or just block social networking sites in order to discourage procrastination and help you exert self control when you really want to get some work done. I looked at the available options and also at some Google Ch...

Python: How to get current System time of a machine on the network

I understand that I can query system time of my machine like this: from datetime import datetime datetime.now() Is there a way to query the system time of another machine on the windows network? eg of \mynetworkpc ...