Hi Michael, You're correct not to make any assumptions about the available() method any more. You can only trust available() in very specific environments, so the easiest option is to not use it at all in heterogenous enviroments.
Whether the tcp segments are reassembled or not, before they are made available to the java InputStream is likely up to a combination of the operating system, libc and the jvm. It is probably one or more of those three players that have changed in Your setup. Right? I wouldn't worry too much about the exact size of segments returned. As long as you do not read the data one byte at a time, it is unlikely that the byte copying will be a hotspot in the application anyway. -- Fredrik Jonson --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
