network

How to simulate different network scenarios ? (in Java)

I’m building a client server application that should operate 24/7. The applications is designate to detect network failures (using a heart beating) and reconnect to the server asap. The first test that I made is just stopping the client or the server and then starting again and everything works fine. I’m wondering if there is any tools ...

Determining iphone upload/download speed programatically

Hello, I was wondering if anyone has a neat solution to getting the iphones upload/download rates programitacally in order to be able to set upload chunk sizes and things of the like...Any input on this? Thanks ...

.Net - Read out current network interface throughput

Good evening, does anyone know a native/elegant way to read out the available network interfaces and their current througput (e.g. bytes/sec) in .net? Cheers & thanks, -Jörg ...

Android: How to monitor WiFi signal strength

Hi, I would receive notifications when signal strength changes. I tried to create the following method and call it in the onCreate(): private void initializeWiFiListener(){ Log.i(TAG, "executing initializeWiFiListener"); String connectivity_context = Context.WIFI_SERVICE; final WifiManager wifi = (WifiManager)getSystemService(conne...

Problems with SO_BINDTODEVICE Linux socket option

Hello network experts, I have a pc with two network cards. One (eth0) is for LAN/internet and the other for UDP communication with one microcontroller (mc) device. The mc has an IP(192.168.7.2) and a MAC address. The second pc network adapter (eth1) has 192.168.7.1. The mc has a very simple IP stack, so the easiest way for the mc to sen...

What are good books on computer networks?

What are some good books on computer networks that cover complicated subjects in simple and understandable manner? Stackoverflow has many "questions on books" but never has anything about computer networks. Most of them are either programming in ____ language or how to do software engineering properly and efficiently I'm creating this ...

Do the Qt database modules support remote databases through a network connection?

I'm profiling some APIs to see which one is suitable for this project. I want my Qt app to connect to a database over an internet connection. Can Qt do this with the client application alone or do I need to write a server app to sit on the database server and transact the queries? ...

Number of hosts in a subnet

Does anyone know how many host bits are needed to guarantee that a subnet could have 9 usable hosts? I was thinking about around 4, but I'm not sure. Can some shed some light on this? ...

Speed up File.Exists for non existing network shares

I have to check if a set of file paths represent an existing file. It works fine except when the path contains a network share on a machine that's not on the current network. In this case it takes a pretty long time (30 or 60 seconds) to timeout. Questions Is there a way to shorten the timeout for non existing network shares? (I'm ce...

Where can I find a C#/.NET NFS implementation?

Is there any implementation of the NFS protocol written in C# or a good documentation thats easy to read so I can implement my own.. Both server and Client are needed but the client doesn't have to be C#, there must be some thing out there? ...

Need PHP or Java code to use multiple internet connections

I have a machine with Linux CentOS distribution that has more than one internet connection available at the same time. I'm trying to write some PHP code that will do the following: Perform an HTTP request to a specific URL "eg. google.com" but through a specific internet connection. Perform the above for several internet connections a...

How Bandwidth limiting is working?

hi friends, If you see the famous FTP Application like Filezilla and Aspera they are intelligently using the bandwidth resources.For example flashget also has an option to download a file at particular bandwidth rate. how actually they are limiting the bandwidth ?. I want to implement a bandwidth limiting in my FTP code. ...

About write buffer in general network programming

I'm writing server using boost.asio. I have read and write buffer for each connection and use asynchronized read/write function (async_write_some / async_read_some). With read buffer and async_read_some, there's no problem. Just invoking async_read_some function is okay because read buffer is read only in read handler (means in same thr...

Delay incomming network connection

I have an server-application Foo that listens at a specific port and a client-application Bar which connects to Foo (both are .NET-apps). Everything works fine. So far, so good? But what happends when to Bar when the connection slows down or when it takes a long time until Foo responds? I have to test it. My question is, how can I sim...

Linux Data Warehouse System for User Files?

I work at a large university and much of my department's backup requirements are provided by central network services. However, many of the users have collections of large files such as medical imaging scans, which exceed the central storage available to them. I am seeking to provide an improved backup solution for departmental resource...

odd jdbc connection hanging problem : network issues? How to fix?

Hi, One of our customers has a newish problem: the application grinds to halt. Thread dump shows that all threads are hanging on network IO in jdbc calls. We/I have never seen these 'network IO' hangs. Typically a slow machine w/ DB problems has either a) one or two long-running queries or b) some type of lock/deadlock. In either of t...

resolve.conf isn't enough?! I need to use a different DNS for each ISP Connection on linux CentOS.

THE PROBLEM I have multiple internet connections on a linux machine, I want each internet connection to use a specific DNS nameserver. /etc/resolve.conf is a problem, since it uses a global name server for all open internet connections. WHAT I NEED? A way to say to linux the following: Use DNS Nameserver A for internet connection 1 ...

Make virtual network interface in Linux?

I'm building a program that does network acceleration, and I need to know how to create a network interface on Linux that instead of directing data to an actual interface, directs information to my program, so that it can be accelerated. The idea is to make it a transparent system, so that programs just have to use the interface like a n...

How to extend Network by adding a router into an existing Router

Actually i am trying to extend my Network by attaching a new router to existing network. New Router : WA3002G4 Exiting Router : 4508xi adsl2 ,having net connection from ISP (Airtel) i want to connect both router from wi fi without using Lan connection Waiting for your help ...

How available, stable, reliable is the exclusive BIS-B connection method on Blackberry?

If you sign up for the RIM developer alliance program, you have the special BIS-B connection type available to your Blackberry applications. Is this connection type more available, stable, and reliable than the other methods? We're connecting to web APIs, if that makes any difference. Getting the other methods (Direct TCP through APN ...