MulticastSocket's receive() method acting strangely

In the Java 2 API documentation, the DatagramSocket.receive( DatagramPacket dp ) method is said to block until a packet is available to read. But i wrote an app that reads a 1.3 mbps multicast (mpeg-1 video) which sends out 1024 byte packets and the java app, after reading a few 1024 byte packets, starts to read smaller and smaller packets until the packets are just 34 bytes, and don't contain any data. I have one DatagramPacket object that's being read in this manner:
The loop, after reading the packet, sends a datagrampacket that uses the same data buffer out a different port, to a different address. (A multicast to unicast bridge)
while( true ) {
multicastsock.receive( dp );
Any ideas why its not blocking until its actually receiving a packet after a while, or why it sees the packet but not the data?
Thank you

So, you're sending multiple packages, right?
receive() blocks until <b>one</b> package is received.
I doubt you can't get data (if it's really in there).
Did you try to debug it (print it or smth.) with smth. like
DatagramPacket confirmationPacket = new DatagramPacket(buf, buf.length);
socket.receive(confirmationPacket);
String received = new String(confirmationPacket.getData());

Similar Messages

  • Unreliable behavior of MulticastSocket's receive method

    I have a program that uses one MulticastSocket to receive packets from a multicast address on a given port (running on a dedicated thread), and another MulticastSocket to send both multicast- and unicast-adressed packets from the same port (running on a separate thread). The program runs on a Windows system that communicates with a separate program (written in C++) running on a Linux system (more specifically, a Gumstix processor running Ubuntu). Both applications are written to send some messages by multicast, and others by direct unicast, with all sending and receiving being performed using the same port number.
    The problem I'm having is this... The MulticastSocket SOMETIMES receives packets sent by the remote system by BOTH multicast addressing AND unicast addressing, but other times, ONLY receives the packets sent by multicast addressing. By "sometimes" and "other times," I mean "distinct executions of the program." That is, if I run it one time, the MulticastSocket ALWAYS behaves one way, and if I run the same program again, it ALWAYS behaves the other way.
    I know that this smacks of thread-interaction issues, but I have done due diligence to rule this out as best I can.
    All of the documentation about MulticastSocket says that it is perfectly reasonable to create multiple MulticastSockets on the same socket address (i.e., the same port), by virtue of the fact that the class sets SO_REUSEADDR to true by default. But if the code never instantiates the sending MulticastSocket, the receiver seems to receive unicast-addressed packets quite reliably.
    How can I ensure that the receiving MulticastSocket behaves in a predictable manner? Are there known issues with this?

    I don't understand why you're using two MulticastSockets for this. You can send and receive from the same MulticastSocket simultaneously.

  • Method acting strangely

    I have this code in the actionPerformed() method for a JButton. AT the end there is an joptionpane to say that it is done.
    Strangely enough, whenever this button is pressed, the joptionpane pops up, the user clicks on ok, and then the optionpane pops up again. Upon a second press, it goes away.
    Everything does what it's supposed to, I just can't figure out why it's doing this.
    if(e.getSource() == restoreDefaultsButton1){
            try{
              String activeClient = availableClientsModel.get(availableClients.getSelectedIndex()).toString();
              File deleteOldFile = new File("Client Filters\\Client Specific\\" + activeClient + ".txt");
              deleteOldFile.delete();
              new File("Client Filters\\Client Specific\\" + activeClient + ".txt").createNewFile();
              BufferedReader copy = new BufferedReader(new FileReader("Client Filters\\Default Settings\\Client Specific\\" + activeClient + ".txt"));
              BufferedWriter paste = new BufferedWriter(new FileWriter("Client Filters\\Client Specific\\" + activeClient + ".txt"));
              String tempWrite = "";
              while(tempWrite != null){
                tempWrite = copy.readLine();
                if(tempWrite != null){
                  paste.write(tempWrite);
                  paste.newLine();
              copy.close();
              paste.close();
            }catch(IOException ex){
              System.out.println(ex);
             JOptionPane.showMessageDialog(null, "Default Settings Restored", "Notifications", JOptionPane.INFORMATION_MESSAGE);
          }Anyone know what's goin on?

    Hello, I'm just taking a silly wild-a**ed guess here, but how many times is the ActionListener added to the JButton?
    You might need to post more code by posting a Short, Self Contained, Correct (Compilable), Example or SSCCE. This is a small application that you create that is compilable and runnable, and demonstrates your error, but contains no extraneous, unnecessary code that is not associated with your problem. To see more about this and how to create this, please look at this link:
    http://homepage1.nifty.com/algafield/sscce.html
    Remember, this code must be compilable and runnable for many of us to be able to help fully.
    Also, next time you have a Swing question, I'd recommend you post it in the Swing forum. Good luck.

  • New Socket() acting strangely under Windows

    Hello,
    First a little background:
    I have a client application that connects to a server application through a socket. The client first checks to see the server is 'reachable' using the .isReachable() method. If this return true, all is good. If it returns false, the application sets up to use a Microsoft Windows DUN connection and VPN to connect to the server. This is handled through a 3rd party .jar file called jdialup. Oh, one more thing, the client pc is connected to the network through a hub. In other words, the pc is connected to a hub. The hub is connected to the network using it's up-link port... Everything so far is pretty simple enough...
    Now the issue:
    If I disconnect the network cable from the back of the pc and run my client application, it says that the server is not reachable, which is fine. The application then dials out to our ISP and connects to our VPN. The client application connects to the server application through a socket and sends the request and receives the response. The client then disconnects. Everything is GOOD.
    Now, if I disconnect the network cable from the up-link on the hub, thus removing the client pc from the network, this is where the strangeness happens! I run my client application, it again says that the server is not reachable, which is fine. The application again dials out to our ISP and connects to our VPN. This is fine. Now though, when I attempt to make the socket connection to the server, it times out! The actual call to
    Socket socket = new Socket(ipaddress, port);times out...
    This seems very strange to me... Any ideas?
    PS: In both situations when I connect to the VPN, I can ping and telnet to the server. It is the Socket call that is acting strange...
    Thanks,

    I've been following this and I'm baffled by the
    discussion so far. Has the thread been trimmed? I believe we got off on a tangent, but the problem is that in certain circumstances the client application tries to connect to the server application the call the 'new Socket()' times out... You will have to read my original post...
    Anyway, I believe that I have figured it out. It was related to the gateway option in the network setup on the client pc.
    Originally I had the gateway option set to be an ip address internal to our network. Our network guy said that in this situation, I needed to set the gateway to an ip address outside out network. When I did that, everything now work beautifully. Why? I have no real idea as I am not a network guy, but it work now and I am happy...
    Thanks for everyones help and sorry for all the confusion.

  • Delete the Adobe Photoshop Settings file? at startup / Tools act strangely. (Mac Os 10.6.5, 10.6.6)

    Symptoms: Every time you start Photoshop, you receive the prompt to confirm the deletion of Photoshop's preferences, or
    Photoshop tools act strangely, as if a modifier key was held down all the time: you can only draw straight lines, you sample colors rather than paint/fill, the cursor has a + sign, etc.
    AND: You are running Mac Os 10.6.5 or 10.6.6.
    Solution: Update to Mac Os 10.6.7:  As explained in http://kb2.adobe.com/cps/881/cpsid_88159.html
    Apple had made a change in 10.6.5 in one of its APIs that affects other programs (Photoshop does not use it), and the result is that they interfere with Photoshop, that receives information that modifier keys (CTRL, Command, Option, Shift) are pressed, when they are not. Adobe reported the bug to Apple, but it was too late to be included in 10.6.6.
    The solutions are
    a) Upgrade to 10.6.7
    b) An Adobe Employee has made an unofficial interim fix for this bug. You can download it and have more information on this post: 72.
    This is one of those cases where Photoshop has the symptom of a bug, but the cause of that bug is not in its code.
    Note that the post to reset the preferences or reset the tools to their defaults when they are acting erratically is located here:
    One of my tools is behaving strangely. How do I reset it?

    Sounds to me like Adobe was probably relying on undocumented behavior in the CGEventPost routine. Apple is free, of course, to change undocumented behavior of any of their system APIs all they like, since you're not supposed to be using such things. Developers are supposed to stick to the documented behaviors in the APIs. If they don't, they can try to save face as Adobe is by blaming Apple, but the fact is, it's not Apple's fault, any more than it's my fault if someone picks up a flower pot from my front porch and misuses it by throwing through someone else's windshield.
    As Barbara has observed, sounds like a case of Blame-Displacement Syndrome.

  • Safari is acting strangely on several counts

    For the last several days, Safari is acting strangely on several counts. I haven't downloaded any updates or plugins recently, and I am not aware of any Safari viruses on Mac OS X, so I'm totally lost here. Please help!
    1. Periodically, Safari will stop loading a page completely. So it will start and then the url bar will be partially blue and the circle will keep circling but nothing will happen. Once it does this on one tab in that window, it will start doing it on all new tabs opened up in that window, but any original tab there might still go through. If I close the window and reopen another window, all sites on all tabs will go right through. I tried disabling DNS prefetching, and that helps Safari behave for a few minutes, then it goes back to such strange behavior. I tested using my wireless and using a different network, and it happens on both, so it's not my router. Sometimes, opening a new window doesn't help. So I shut down Safari and restart. Sometimes that doesn't help either, so I end up having to reset Safari. Obviously, having to reset Safari multiple times a day is neither productive nor ideal.
    2. When it does that url thing, it also seems to become incapable of completing from history or bookmarks. So for example, if I open a tab and type a website name, it won't complete it, even though I have that bookmarked. Generally when that happens on the first tab of a window, I can pull up the site from bookmarks and it will load immediately. But the next tab I open in that window, will do the webpage not loading business I described in #1 above.
    3. A short while ago, i tried resizing a window and it did the strangest thing where it would expand the window space, but just give me a "gray area" rather than expanding the whole web page. I closed the window, opened a new one and resizing worked fine again.
    4. A short while ago, another strange happening: everytime I opened up a new tab in the window and loaded a site, it would merge that tab with my old tab and delete the first tab, so at any given time, it was just a single tab window. I closed the window and reopened, and voila normal tab behavior again.
    Strangely, if I have two windows open - as I often do - only one window will be affected by such strange behavior. The other one will function normally. But such odd behavior is not limited to instances when I have two windows open. It's also happening when there's one window open. For reasons I do not understand, it seems something in the processes of a window gets corrupted after a little while on Safari and that window starts acting strangely.
    Odd and irritating and difficult. I'd greatly appreciate your help!
    I'm using Safari 5.0.6 on OS X 10.5.8... thanks!

    I don't see anything in your post regarding the Safari cache. BTW, a "reset" does not empty the cache.
    From your Safari menu bar click Safari / Empty Cache. Restart your Mac, try Safari.
    If that didn't help, quit Safari if it's open.
    Go to ~/Library/Caches/com.apple.Safari
    Move the Cache.db (or ApplicationCache.db) file from the com.apple.Safari folder to the Trash.
    Try Safari.
    If nothing above helped, make sure there's enough free space on the startup disk.    Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. Make sure you have a minimum of 15% free disk space.
    If nothing above has helped, try Safari in another user account. If you see the same issues there, log back into your admin account.
    Launch Disk Utility. Select the startup disk in the panel on the left then select the First Aid tab.
    Click:   Verify Disk  (not Verify Disk Permissions)
    If the disk needs repairing follow the instructions for Using Disk Utility to verify or repair disks.

  • IPad mini acting strange. Apps open and close randomly. Any ideas?

    My iPad mini acts strange. Apps will randomly open and close and I have no control over it. I have reset it to factory and started all over but it is still doing it. Any ideas on what I should do?

    If the unit has NEVER been jailbroke, first try a system reset.  It cures many ills and it's quick, easy and harmless...  Hold down the on/off switch and the Home button simultaneously until you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  It could take well over an hour!  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow the on-screen directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore, go into Recovery Mode per the instructions here.  You WILL lose all of your data (game scores, etc,) but, for the most part, you can redownload apps and music without being charged again.  Also, if you have IOS-7, read this.

  • IBook acting strange...erase and reinstalled...it's starting to be strange

    My iBook was acting strangely...I can't connect to the wireless server, though ISP, network settings and Airport are all correct and the connection is visible and the strength of the connection will change. I cannot load any internet pages. In addition, my iDisk icon disappeared, then on restart, it reappeared, but I have no access to it. A "copy of previous iDisk" then appeared on my desktop with all of the contents, but I can't move them from this version as it says I do not have access. So, I started looking at the logs, to see what, if any, errors there were. I didn't have access to the security log and a few others - although I'm the only user account on this computer. Needless to say, I'm no expert so I "spotlighted" some of the things showing up in the logs. Spotlight returned articles on Apache and XTools (Xcode?) - neither of which I installed (I think Apache might come included). I looked and sure enough, XTools was on my hard drive with many, many files - most with the name or extension of pb or pbx. I started to dig a little deeper in the program and noticed some scripts in the vein of when user enters/types "xyz" initiate process or replace with "zyx", etc. I saved some of these files to the desktop, powered off and restarted. When I opened the desktop after the restart, all of the files were in the trash - not by my doing. I removed them and locked them to the desktop until I could figure out what happened. Then, they disappeared, my computer shut down and when I tried to restart, I couldn't get past the spinning gear.
    I took this to the store, they checked it, said they could recognize a drive, that I should archive and reinstall. I did this, things still acted strangely. I called AppleCare, they said to back up everything and reinstall.
    I did this, now am finding repairs are needed through disk utility for security and authorization priviledges. I repair, go back in a few hours, run it again, just to satisfy my curiosity and the same repairs are needed for disk permissions.
    A friend has uttered the horrible "trojan horse" phrase to me...as I download regularly from LimeWire. I'm not sure what a next step would be to free the iBook of it's quirkiness.
    Sorry for the long post...but it's been an eventful few days.
    iBook G4   Mac OS X (10.4.2)  

    You can ignore any permission repair that states "We are using special...". I'm not sure about Tiger but Panther has a few others that come up if the cron maintenance scripts have run.
    Other than the repeating permission repairs, is it running OK now?
    John

  • My macbook pro started acting strange after a safari reset. the mouse no longer: animates the dock, activates hot corners or selects pages from the 'top sites' page.

    my macbook pro started acting strange after a safari reset.
    the mouse no longer: animates the dock, activates hot corners or selects pages from safari 'top sites' (without a hassle). attempts to reset dock and hot corners from preferences has been fruitless
    the mouse also gets 'stuck' in logic precipitating force quits.
    i run osX 10.6.8 on a 2007 macbook pro that has had 2 motherboards replaced autumn 2010.
    my troubleshooting has been: restart, pRam and safe boot, also checking a 'test' account to find the same issues extant.
    pRam restart caused airport to quit and say there is no airport card, and wouldn't respond untill another reboot.
    macbook pro 15" 2.4 GHz intel core duo.2 GB 667 MHz DDR2 SDRAM.
    i have treated this book with care, yet run logic pro studio to the limit of this book's abilities.
    what shoud i do?

    You don't say which year you have, however...
    ...there are known problems with the mid-2010 models (see http://support.apple.com/kb/TS4088?viewlocale=en_US&locale=en_US) as well as early and late 15" 2011 models (see https://discussions.apple.com/thread/4766577?tstart=0).
    Apple has taken ownership of the problems with the 2010 model but, unfortunately, the free logic board replacement for that model has probably long expired for you - three years after date of purchase.
    One the 2011 models Apple has admitted no defect. You'll just have to skim the articles to get an overview of the problems that people are having (usually showing up as screen glitches at first and then going downhill from there).
    Good luck,
    Clinton

  • Ipad 3 to my TV with the Apple Digital AV Adapter. The Ipad is acting strange when I connect

    When I connect my Ipad3 to my TV with the Apple Digital AV Adapter the touch screen starts to act strange. The mirroring on the TV looks great, but its impossible to navigate on the Ipad. It keeps opening apps I have not selected and not responding when I try to open and close f.ex. pictures and videos.
    When I disconnect everything is back to normal.
    Any suggestions?
    br
    Bubba

    Thanks for the fast reply
    Already tried that. Didn't help

  • Indesign CS6 acting strange at times

    I am not loving Indesign CS6. Not because of it's functionality but because it acts strangely. When I quit it, sometimes it takes forever to quit and you start wondering if it is going to, sometimes it says it's closed but the tabbed windows still remain in view only grayed out with the beachball spinning. Eventually it goes away but it is disturbing. anyone know why?
    Another thing is that when I change a font size, it will look like it changed but still have the after image of the previous size. Irritating.
    One more, and I've had this problem for all of the last versions since I think cs4. When I try to replace a pdf with a current version, (unless I have restarted my computer since the last time I created it,) it tells me that I don't haver permisson or that file may be in use. I end up going to the pdf and trashing it physically. Not very efficient.
    I know there are 3 issues but I've only had it for a couple of months at best.
    The first issue is the most disturbing.
    Mountain Lion 10.8.2, 8 gb memory, processor 3.06 ghz intel

    Again, please remove your auto-signature when replying by email.
    Let's try a couple of diagnostic experiments, please.
    First, create a new user account onthe mac and log in with that and tell us if there is a change in behavior in ID.
    Second, try starting in with extensions disabled by holding down the Shift key while booting the Mac. Does that make a difference?
    Do you run any sort of utilities -- anti-virus, Mac Keeper, etc.?

  • Iphone 5 Battery Charging Acting Strange

    The last few days my Iphone 5 has been acting strange with charging the battery.  I will be charging it and it will not go past a certain number then if i unplug it a couple times or restart it then it says 100%.  It will be ok for a little while and then go through the same thing.  Yesterday my phone said 36% and a couple minutes later shut itself down because it was a 0%.  So the number is just not reading correctly.
    Is this just as simple as changing the batter most likely?  Or something else, other than this the phone works fine as far as i can tell

    Always try to charge iPhone when convenient for you. You can use iPhone right out of box, no problems, or you can charge it up if convenient. The best time for most users to charge iPhone is at night while they are sleeping so it is fully charged for the next day. The iPhone lithium battery is very versatile, so charge when convenient for you, it will not effect performance or life.

  • Dropdownmenu in infowindow of googlemaps act strange and doesn't work

    The problem occurs only in FF, not in IE or Chrome.
    Go to this page:<br />
    http://www.meerijden.nu/ritinvoerenmaps.php?codet=en
    I tested it and I fill in a city in rideshare from and press enter and the icon of this city appears in the map, then I fill in a city in rideshare to and press enter and the icon of this city appears in the map as well. Then I click on one of the icons in the map and I can fill in a ride. Only the visible dropdown menu's act strange and choosing has no effect. That is the problem!?
    Any suggestions?

    Which drop down menu doesn't work?
    Don't you get a pop-up window if you click the start or end flag on the map?
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • I Book G4 12 inch freezing up and acting strangely

    Recently we bought my wife a 12 inch I Book G4. It is a 1.2 megz processor. We have upgraded the ram, and recently replaced the keyboard. In the last few days it has started acting strangely.
    While using Pages, and Safari, it begins to "spin" and that application freezes up. Not only does that application freeze up, but when we click on the other applications, they just "bounce" on the dock, but never open up. It is interesting that when we turn off the airport extreem, and then turn it back on, everything goes back to normal.
    This is very strange behavior. Has anyone run in to this before? What should we do?

    Wow, it's good to know i'm not alone in this. I've never had any trouble with my Ibook before this. This morning (or yesterday?) I installed the recent security update, it's been doing that ever since. First it won't allow any NEW connections (already connected applications, AIM, work), when that starts it won't load other applications then the computer freezes with the beach ball. And it's not safari, because I use firefox with the same results. I would love to archive an install, but somewhere along the way my Tiger disk went missing. If any of you find a solution other than restarting and waiting for it to happen again, i'd love to hear it.

  • ICM_HTTP_CONNECTION_FAILED error on http receive method

    Hi,
    I am trying to read a XML via http. I have developed a code referencing this blog:
    /people/rashid.javed/blog/2007/03/11/cricket-world-cup-http-client-and-simple-transformations
    When http receive method is executed it gives me an error.
    On executiong of: CALL METHOD client->receive it gives error:
    code:    400  message:  ICM_HTTP_CONNECTION_FAILED
    I treid changing host and buf in code below both to http://www.google.com to rule out the possibility of bad url. Also tried setting time out to 500 in send method. Still no luck.
    ICM trace shows following:
    Thr 4864] *** WARNING => Connection request from (16/6462/1) to host: http://www.google.com/, service: 80 failed (NIEHOST_UNKNO
    How do I solve this error, please give me some tips.
    I was looking forum for this issue but was not able to find a solution.
    Here is complete code:
    DATA: client TYPE REF TO if_http_client.
    DATA: host TYPE string.
    * DATA: proxyh TYPE string VALUE 'IfYouHave.Proxy.com',
    *      proxyp TYPE string VALUE '8080'.
    DATA: buff TYPE string,
          respd TYPE string.
    DATA: subrc TYPE sysubrc.
    CALL METHOD cl_http_client=>create
      EXPORTING
        host               = 'http://www.google.com/ig/api'
    *    SERVICE            =
    *    proxy_host         = proxyh
    *    proxy_service      = proxyp
    *    SCHEME             = SCHEMETYPE_HTTP
    *    SSL_ID             =
    *    SAP_USERNAME       =
    *    SAP_CLIENT         =
      IMPORTING
        client             = client
      EXCEPTIONS
        argument_not_found = 1
        plugin_not_active  = 2
        internal_error     = 3
        OTHERS             = 4
    IF sy-subrc <> 0.
      WRITE:/ ' cl_http_client=>create, subrc = ', sy-subrc.
      EXIT.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ELSE.
      buff = 'GET'.
      CALL METHOD client->request->set_header_field
        EXPORTING
          name  = '~request_method'
          value = buff.
      buff = 'http://www.google.com/ig/api?weather=21218&hl=en'.
      cl_http_utility=>set_request_uri( request = client->request
                                        uri     = buff ).
      subrc = cl_http_utility=>get_last_error( ).
      IF subrc <> 0.
        WRITE: / 'Wrong URI format'.
        EXIT.
      ENDIF.
    ENDIF.
    CALL METHOD client->send
    *  EXPORTING
    *    TIMEOUT                    = CO_TIMEOUT_DEFAULT
      EXCEPTIONS
        http_communication_failure = 1
        http_invalid_state         = 2
        http_processing_failed     = 3
        http_invalid_timeout       = 4
        OTHERS                     = 5
    IF sy-subrc <> 0.
      CALL METHOD client->get_last_error
        IMPORTING
          code    = subrc
          MESSAGE = buff.
      WRITE: / 'communication_error( send )',
             / 'code: ', subrc, 'message: ', buff.
      EXIT.
    ENDIF.
    CALL METHOD client->receive
      EXCEPTIONS
        http_communication_failure = 1
        http_invalid_state         = 2
        http_processing_failed     = 3
        OTHERS                     = 4.
    IF sy-subrc <> 0.
      CALL METHOD client->get_last_error
        IMPORTING
          code    = subrc
          MESSAGE = buff.
      FORMAT COLOR COL_BACKGROUND.
      WRITE: / 'communication_error( receive )',
             / 'code: ', subrc, 'message: ', buff.
      WRITE: / 'communication_error'.
      EXIT.
    ENDIF.
    respd = client->response->get_cdata(  ).
    WRITE:/ respd.
    Thanks in advance,
    CD
    Edited by: CD on Feb 19, 2009 1:46 PM

    Check this link..
    [HTTP client code 400 reason ICM_HTTP_CONNECTION_FAILED;

Maybe you are looking for