Blocking Socket : Difference between Win NT and Unix ?
posted 13 years ago
Hi All, I use a BufferedInputStream to get a String through Socket. Sometimes, the String that i receive is not complete. Since i use the method "available" one explained me in another post that's probably because in the last part of the inputstream, there is something that would block the socket, so the BufferedInputStream doesn't read anymore the inputstream. I have no clue waht could block the socket, i don't find any doc about that. But more strange, when i run exactly the same code, on Win NT4 and UNIX, the behaviour is quite different. Witn NT, i have about 1 bad answer on 1500. With Unix, i get about 500 on 1000 ! What can be the reason ??? For info, my code is running inside Weblogic 6.1, but even if i write a single class, the problem is the same. Thanks for your help, Vlad