network

Network statistics

I'm trying to collect network statistics on my computer and draw a pie chart. An example is shown below. my computer connects to port 80 75% my computer connects to port 443 20% my computer connects to port 443 5% But I don't know how to get each port that my machine is connecting to. I will be using Java to develop this. ...

How to figure out if the network the mac is connected to is a WiFi or cable network or the like...

Hi all, First off, you guys are all really helpful - thank you a lot! Is there a way to figure out what type of network a Mac is connected to? WiFi? Cable? USB Modem? Any Cocoa / Foundation framework I can use to figure that out? Thank you, Matthias ...

Connecting from host to virtual server fails with network unreachable from Java.

I have a server that has several virtual machines running on it. I'm trying to connect to one of these servers using Java, but it fails with "Network unreachable". The usecase is Hudson connecting to run a slave on a windows-machine. It works using python sockets, so it's quite odd. This is the network configuration on the host machine ...

Variable sized packet structs with vectors

Lately I've been diving into network programming, and I'm having some difficulty constructing a packet with a variable "data" property. Several prior questions have helped tremendously, but I'm still lacking some implementation details. I'm trying to avoid using variable sized arrays, and just use a vector. But I can't get it to be trans...

oControling on lan

I have a network set up in my room with three pc. One is running a linux and other two windows. is there any way i can powerdown the other pcs by just issuing a command from the linux computer??? ...

How Can I transfer data through internet from client to server using .NET?

I am developing a server client application, where Client will send a huge amount of data to server through internet. However I have done some asynchronous socket programing before. Can I use same code here ? ...

XNA networking on windows

What are XNA's builtin network functionalities? Is it possible to use XNA's builtin network in windows? If so, any restrictions? ...

.NET 2.0 or .NET 3.5 for networking applications

I'll be developing a C# networking application which will make use of UDP and will require lowest lag time and general good performance. Is .NET 3.5 better suited for such applications? Is there any performance benifits/improvements in .NET 3.5? Specificly I'll be using SocketAsyncEventArgs class. And I think it is available from only .N...

Enumerating Network Sessions

Hi, I wanted to pull data about the connected network users from the Computer Management -> Shared Folders -> Sessions tab into my c# application. Can anybody guide me on what namespaces have to be used along with some sample code to import username and ip address from Computer Management -> Shared Folders -> Sessions tab? Regards ...

JFileChooser and browsing networked machines

Good afternoon, I am working on a little program that needs the ability to let users browse files and directories on networked machines as well as the local filesystem. I made the mistake of developing this component on a Windows machine... it worked fine there, but hid the fact that JFileChooser doesn't really "see" networked drives. O...

Run a C# application, complied with "Allow unsafe code" setting, from a network location.

My C# application uses pointers and hence is complied using the "Allow Unsafe Code" setting. I know that it is quite difficult or not possible at all to run such an application from a network location.(or is there any way to run it??) What I would like to know is, is there any way to handle the error that occurs while trying to run this...

Restrict RDP port based on a Dynamic DNS

Hi All, I want to set a restriction on my firewall (windows firewall on windows 2008) to only allow connections from a certain dynamic DNS. Is this possible? The reason I ask is that this would allow us to just change the IP on the dynamic DNS if our IP changes and means we won't get locked out of RDP. This also allows me to RDP in fro...

http sniffer not working in a LAN setting

Hi , I wrote a http sniffer program , first ran it in my standalone pc < fedora OS >, and it worked well. And when i tried this in a LAN setting < bus-LAN , fedora OS again > , and set the eth0 to promisc mode , the program captures only the URLs browsed by the system in which it is running , but not the ones browsed in neighbouring sys...

Query about best forums for network security

Hi Team, Could you please let me know which are the best forums for the following ? 1) Network Security 2) Data Warehousing Thanks Lijo ...

Routing algorithm

Hello, I'm giving a presentation about computer routing and I want to make a good analogy with a real-world situation. However, I could not find it. Do you have in mind any of the situations like the computer routing. If yes, could you please provide me with it ...

Java: Anyone know of a library that detects the quality of an internet connection?

I know a simple URLConnection to google can detect if I am connected to the internet, after all I am confident that the internet is all well and fine If I cant connect to google. But what I am looking for at this juncture is a library that can measure how effective my connection to the internet is in terms of BOTH responsiveness and band...

Programmatic use of ARP

I have a need for some C or C++ code, compilable under Linux, to be able to take a list of IP addresses of some arbitrary number of remote hosts machines and obtain a ethernet MAC address for each one. These host machines may be on the same subnet or they could be on a different subnet behind a router. Its OK if the MAC address of some o...

Ruby - Platform independent way to determine IPs of all network interfaces?

Is there an easy way in Ruby for me to get a list of the IP addresses for all network interfaces? It needs to work in Linux/Win/OSX and I'd prefer to not have to parse ifconfig/ipconfig unless I absolutely have to. ...

Android emulator: How to monitor network traffic?

How do I monitor network traffic sent and received from my android emulator? ...

Check whether a folder is a local or a network resource in .NET

Is there a quick way to check whether a path I have is on a local disk or somewhere on the network? I can't just check to see if it's a drive letter vs. UNC, because that would incorrectly identify mapped drives as local. I assumed it would be a boolean in the DirectoryInfo object, but it appears that it's not. I've found classic VB cod...