Detecting the type of Internet Connection

Hi..
I am trying ... build an application that detects the kind of internet
connection (Dial-up, T1, DSL etc) that you are using and then disconnects it.
This application, must then send a response to a server-side program
containing information about the user and the connection type. This
application has to also trip the current connection if it is dial-up. Thats much later on, I first need to be able to detect the connection type.
I was was wondering whether there is some documentation/code samples about the same ?
Thanks a lot,
Abhijeet

Thanks for the information...let me explain now...
hi:
reply inline --
I am trying ... build an application that detectsthe
kind of internet
connection (Dial-up, T1, DSL etc) that you areusing
i don't think there's a Java API for doing this
intrinsically.
on the other hand, there one easy (yet not very
reliable) way
of detecting type of connection...
xfer speed | type of connection
-----------------+-------------------
0 - 50kbps | dial-up
50 - 130kbps | ISDN
130kbps - 1Mbps | DSL
1-1.5Mbps | T1
400MB-more | Cable
but these figures are idealistic, and there are some
overlaps.
generally these figures hold only in few countries
around the
world... not even all US networks guarantee these
values...
and infact you can have variations which deviate...
fractional-T1, HDSL, ADSL, SDSL, DSL-Lite, and to top
it all
the service-provider may choose to limit the
port-speeds...
so in short there is no very well defined way to get
around
this... in all the above cases except dial-up, the
endpoint
connectivity on the host processor is an Ethernet
card, which
in turn would be connected to a router... so, how can
you say
what technology router uses to get onto the WAN... of
course
without some proprietary API's that the router may
provide,
or some SNMP MIB's that router may support... !!!Ok ... I should have been a little more specific here, actually its not that complicated.. I just want to be able to distinguish whether the user is on a dial-up or a permanenet connection ( Modem VS T1-,DSL, Cable ) .... if I can do that much.. its fine...
>
and then disconnects it. what do you mean by disconnect... ??? is it
disconnecting the
modem, or the total LAN connectivity towards all other
hosts
or a particular host ??? for modem disconnection,
JTAPI etc.
or Java Serial port control might help... (not
sure)... for
others, updating the routing-table on the host (using
JNI) or
bringing down an ethernet-interface etc. would be
required...so then ... the question of disconnection is applicable only in case of a modem-dial up kind of connection.. I'll look into the JTAPI or SerialPort control working.
>
best regards,
banibrata dutta.
--Thanks...any more info would be welcome !
Regards,
Abhijeet

Similar Messages

  • Firefox won't detect coffee shop wireless internet connection, but explorer will, automatically

    Firefox won't detect coffee shop wireless internet connection, but explorer will, automatically

    that's fine, thank you
    but if it doesn't connect
    what's the alternative procedure
    what do I do

  • How do i use my iMac and the macs wired internet connection to share the internet with my iPod and iPhone

    How do i use my iMac and the macs wired internet connection to share the internet with my iPod and iPhone. For 6months I had set up a network that shared the internet through bluetooth to my iPod 5th gen but i messed it up when i tried to add my iPhone 5s and i can't remember how to do it.

    The following has instructions: OS X Mavericks: Share your Internet connection

  • If I download Mountain Lion on my MBP , can I use the same installer file on a different computer and continue the installation without Internet connectivity?

    Hi Folks,
    I have just downloaded Mountain lion on my  Macbook Pro(haven't installed it yet) . My question is, can I copy the same downloaded Mountain Lion from the Applications on to an external hard drive and use the same on a different computer? I am having problems with internet connectivity right now, it would be amazing if it can be installed on the iMac without internet connection.
    So is that doable?
    Thanks in advance

    And the 2nd installation would not require internet connectivity? Except , of course during the set up and the configuration of iCloud and location based services, which I can skip at the time

  • I cannot get my iMac with built-in airport to allow internet connections to Nook and PS3. The devices access the network, but internet connection fails. Internet sharing is enabled, network security (WEP, WPA) is completely off.  What to check next?

    I cannot get my iMac with built-in airport wi-fi to allow internet connections to Nook and PS3. The devices access the network, but internet connection fails. Internet sharing is enabled, network security (WEP, WPA) is disabled.  What to check next?

    On an additional note, I've purchased a wireless router and everything connected on the first attempt.  It just vexes me that the built-in wireless isn't working as a router.  Is this another example of "Mac only plays with Mac"?

  • Detect the type of DisplayObject (Sprite, MovieClip, Bitmap etc).

    Hello,
    Is there a way to detect the type of a DisplayObject with a switch case statement?
    I noticed that you can check if the displayobject compared to the type returns true or false.
    Trace(mydisplayObj is Sprite);  //return true or false
    Trace(mydisplayObj is MovieClip); //return true or false
    But isn't there an option to get the type of the displayObject directly?
    like,
    switch (typeof(mydisplayObj)) {
         case Sprite:
         break;
         case MovieClip:
         break;
         case Bitmap:
         break;
    regards,
    Chris.

    Yes you can.
    trace(getQualifiedClassName(mydispalyObj));
    That will trace out the package and class name, so in your example you would get
    flash.display::Sprite
    flash.display::MovieClip
    I thought there was one that gave just the class name without the package, but I can't remember or find it at the moment...
    But that should help you out.

  • Do I need to be online to use creative cloud? I want to use it in the field without internet connection.

    Do I need to be online to use creative cloud? I want to use it in the field without internet connection.

    Creative Cloud Help | Creative Cloud / Common Questions
    Do I need to be online to access my desktop apps?
    No, the desktop applications in Creative Cloud, such as Photoshop and Illustrator, are installed directly on your computer, so you don’t need an ongoing Internet connection to use them.
    An Internet connection is required the first time you install and license your apps, but you can use the apps in offline mode with a valid software license. The desktop apps will attempt to validate your software licenses every 30 days.
    Annual members can use the apps for up to 99 days in offline mode. Month-to-month members can use the software for up to 30 days in offline mode.

  • Can the MacBook Air work with any other type of internet connection beside wifi?

    Can the MacBook Air work with any other kind of internet connection besides Wifi?

    Who? ITS VERY important when doing a restore, in fact you DO NOT want to do a wifi restore
    The pros all have that Ethernet adapter,... that should tell you something. An Ethernet restore via that "thing" makes restoring the OSX about 8X faster.
    Its called a Gigabit Ethernet adapter for a reason.
    "who the heck" is anyone working with their Macbook Air at home and want a MUCH FASTER download / internet connection.
    *Stockbrokers who pack their Macbook Air, arrive at work and plug that "hardwired" dongle to their Air........  because even seconds in the stock market can make the difference between losing a million $$, or making a million $$
    So now you know WHY,.....before you didnt.

  • When I connect imac to network via airport all devices on the network lose internet connectivity

    Every device stays connected to the network but the internet stops working. Usually the network will continue to function normally for about five minutes when the imac connects, but then every device loses internet access via the network, NOT just the imac. As soon as I turn off the imac's airport they get internet connectivity back. A wired network connection to the imac seems to work OK.
    The airport is configured as "Using DHCP"
    Mac OS X 10.6.8
    As far as I know, no changes have been made to the computer recently (but it is not my machine and the owner isn't here atm)
    I found one other resource with the same problem here:
    http://www.mac-forums.com/forums/internet-networking-wireless/183185-turning-my- macbook-airport-breaks-internet-connection-entire-network.html
    but the solution didn't work. When I deleted the three files mentioned in the solution in that thread, my problem is not solved.
    If you have any ideas or need more information I would love to hear from you.
    Thanks guys.

    Yes it is possible that the two machines are creating a Computer-to-Computer network and are not going through the Express.
    To delete the Alias you may need to login with the Admin User.
    Will
    1GHz G4, 15" PowerBook, Airport Network, 1G iPod Mini   Mac OS X (10.4.5)   Updated - Get Started with iWeb (WillG4PB.com)

  • I receive the error, "No Internet Connection" and my Adobe Creative applications are crashing on a regular basis.

    I keep getting the same errors with the damn Creative Cloud application on my Windows 7 machine, which IS connected to a LAN and IS actively connected to the internet at the time the error routinely appears in the midst of tasks.  I have checked root certificates, manually checked my hosts file and run the tests outlined above to both Adobe addresses.
    In fact, the error kept occuring while I was on an over 3-1/2 hour call with a very through and nice representative from Adobe who had remote screen access at the time (through Adobe connect) and could see the error repeatedly occuring!
    Her comment, "This just happens sometimes with this application and there's not a patch for it yet",  The problem I was having with Photoshop CS6 and Photoshop CC was so severe that I had to do a SYSTEM RESTORE which then started  affecting other Adobe applications because Windows had erased part of the programs (or all of some programs) but Adobe's software saw them as still installed, that she had me uninstall ALL Adobe Creative Cloud applications using the Adobe Cleaner Tool and reinstall everyting from SCRATCH. She and I had tried numerous other ways to repair the problems I was having with updates not installing correctly AND constant program freezing, etc. before this taking this extreme step. 
    I'm a professional programmer / software / web designer, so I had tried for hours correct the issues the previous night and had tried once overnight to reach someone in Adobe support only to be told of over an hour wait time by the automation and not offered a callback. 
    Anyway, despite her best assistance this afternoon (and double confirmation that everything tested correctly), it has taken, so far, well over six hours to reinstall only a portion of what I need for my work and on a deadline because the application keeps reporting "No Internet Connection" and I have programs cued to install unattended.  I am now way behind schedule on some design projects which MUST BE COMPLETED by deadline and require Adobe's software to be installed and function correctly.
    Adding to this, Windows Explorer has repeatedly crashed after installing the damn Creative Cloud application and works normally when it's removed and "cleaned" ... and I've seen so many problems with the install system, etc. that I have to wonder what in the hell the company was thinking when this approach was launched?
    I generally have liked -- and indeed loved -- some of Adobe's products in the past, but the recent experience has certainly been costly in time and disappointing. 
    Many other software manufacters integrate suites, perform updates and confirm licenses without such a buggy, time intensive and unreliable process -- including my own company. 
    Aside from complaining at this point, I wish somebody from Adobe would provide alternative install methods and / or a fullproof fix for this bug and some of the other installation bugs many of us experience.  Any thoughts, advice, knowing that not only I -- but also the Adobe Support Staff Person accessing my computer LIVE -- tried the various "fixes"?

    Branching this to a new discussion as the previous discussion was related to the inability to connect and download the installation software.
    Rob it does sound like you are facing some connection and stability difficulties.  Do you manage your network youself?  I am a bit concerned by the fact that you have stated that you periodically loose Internet connection while completing certain tasks.  Does this affect your ability to utilize the already installed Adobe Creative software?
    I would also recommend reviewing your installation logs to determine if any errors occured during the installation process.  Please see Troubleshoot install issues with log files | CC - http://helpx.adobe.com/creative-cloud/kb/troubleshoot-install-logs-cc.html for information on how to locate and interpret your installation log files.  Please feel free to post any specific errors you discover to this discussion thread.

  • What is the best wireless internet connections for a Macbook

    I have been trying to wirelessly connect a Macbook for internet connection. What is the best router that can be purchased for Macbook that will also work with a PC.

    Yes, it shouldn't matter. I just picked up an Airport Express tonight - VERY easy to setup and works like a charm. One caution - Express is a wireless router ONLY. There are no additional wired ports on it for wired systems in your house. You'll take the cable that comes from your DSL modem out of your computer, and put into the port on the Express (if you already have a wired computer). If you need a wired/wireless router, you'll require the Extreme model.

  • My iPad is not connecting to the wifi although my laptop and iPhone are. the screen saysno internet connection

    My iPad has stopped connecting to my wifi and says No Internet Connection, even though I have 3 bars wifi and my laptop and iPhone in the same room are connected

    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are droping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    iOS 6 Wifi Problems/Fixes
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipad
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Why the super slow internet connection on my MBP?

    This falls into the category of FYI, or FWIW. I'm going to answer my question for the good of the community,
    I suddenly noticed a significant reduction in my internet connection at home on my MacBookPro. According to speakeasy.net/speedtest I was getting over 11 Mbps down and 1.5 up before then suddenly I was down to 1 Mbps downloads and .25 uploads. I tried 3 browsers and an scp transfer via the terminal from my web server and all with the same results.
    However, the mystery deepened when I tested other computers in the house and they were getting the original 11 Mbps. So, I took my computer downstairs next to the router and also got the original 11 Mbps. So, I went back upstairs, but instead of plugging in my old 23" Cinema display, I tested without. You know what happened, right? Yup, 11 Mbps. Plugged in the Cinema display and back down to 1 Mbps.
    I have no idea what is going on, other something in the Cinema display is interferring with my wireless connection.
    Brad

    AirPort and Bluetooth: Potential sources of wireless interference

  • HT2534 i recently bought a $20 itunes gift card . i redeem   in my account in my new ipad...while  i was typing the code in the ipad my internet connection was lost..i treid to re entre my gift card code again[ a message sent this code has been redeemed 

    i recently bought a $20 gift card to redeemed in my new ipad..  i redeem my code in my  ipad account . I lost my internet connection just before i could see a confirmation. i reconect  and check my account no money credited..i tried to redeeem again but a message sent saying this code had been redeem.. where is my credits? How I can i  retrive the $20 gift card.

    Hey tiger.jor,
    I would first check and see if the gift card's balance has been applied to your account:
    Tap the iTunes Store, App Store, or iBooks.
    Scroll to the bottom of the Featured tab.
    Sign in with your Apple ID.
    If you have a credit balance, you'll see it below your Apple ID.
    from: iTunes Store: iTunes Gift balances
    http://support.apple.com/kb/HT5035
    Welcome to Apple Support Communities!
    Cheers,
    Delgadoh

  • Can i use the GPS without internet connection ?

    hey if im driving and i dont have inenet, can i sill use the gps ?

    IMPO, no Internet connection is definitely fine for Nokia Maps as the software uses offline map data to guide your drive.
    BUT, the phone must be under your mobile provider's coverage as it needs A-GPS to help lock the position. Othewise, it would take ages to lock or might be not working at all.
    bbao
    * If this post helped you, please click the white Kudo star.
    * If this post has solved your issue, please click Accept as Solution.

Maybe you are looking for

  • Batch transaction stock aging report

    Hi Experts, Can you some one help me with query which give stock aging report base on Batch wise transactions (IBT1). Item Code,    Item description  Batch#(Qty which are >0),  Batch Qty,  Stock "IN" creation Date, Thanks for your help. Regards, Sure

  • Analog to digital video converter for DVD

    I have a DVD burner that came with my G5. I have a lot of VHS analog tapes that I would like to digitize and turn into DVDs. Can anyone recommend an inexpensive product(s) that will allow me to do that? Thank you. Power Mac 2.5GHz Dual   Mac OS X (10

  • DVCPro HD won't play ... Codecs are there!

    This is weird.... but here I go My laptop : MacBook Pro, OS10.4.8, FCP 5.1.2, QT 7.1.3, no software updates available... it worked fine with all DVC Pro HD footage from a Panasonic HVX200 camera. In fact I have a demo sequence I use regularly for dem

  • Problems with SelectOneChoise component in table filter

    I have tried to make a SelectOneChoise filter in a table and I have two problems which are: 1) If I use the filtering in the coloum with the SelectOneChoise and then navigate to another page and then back to the page with the table then the filtering

  • DPL8007: Unsupported deployment descriptors element message-destination?

    Hi All, I am not able to run a working Java EE 5 JMS tutorial in jdk1.6.0_25, GF3.1 (bundled with Netbeans 7.0 on Windows XP) despite having re-created the whole project from scratch. Below is the code snippets of various components of the project: C