4 Topics

Member Avatar for
Member Avatar for bguild

It's surprisingly how little documentation `java.io.InputStream` has for a class of its complexity and importance. Almost every Java application uses it in one way or another, but how one uses it correctly is not completely spelled out. Naturally the documentation allows most of the methods to throw an `IOException` if …

1
130
Member Avatar for Mbot

Hey, Im trying to write a chat program which should be able to run multiple clients using threads. But I seem to get this "java.io.StreamCorruptedException: invalid type code: 00" error the whole time. My server code: [CODE] import java.io.*; import java.net.*; public class Server{ ServerSocket serverSocket; Socket connection = null; …

Member Avatar for Qiqa
0
567
Member Avatar for lucas.ploeg

Hi, I have a program that generates an outputstream with XML-data. With a socket connection, I have to read multiple XML-files from the inputstream. To read only one XML-file from the inputstream is not a problem, the fact that there are more than one and I have to split up …

Member Avatar for JamesCherrill
0
3K
Member Avatar for winonus

I am trying to write some tool for MSDOS environment but it doesn't work as expected. I want to get the tool to read from some commandline pipe, like C:\> type a.txt|testpipe where testpipe.exe is the compiled program. The problem: After going through the piped contents, it does not stop …

Member Avatar for Narue
0
333

The End.