socket-overflow

Lukas Weberruß lukas@klue.de
Sat Apr 1 00:00:00 GMT 2000


Hi!
Is there any known bug in the stream and/or socket implementation in the
jdk1.1.8 ?
I have the following problem:
On the source side, I write to an PrintStream which is connected to the
socket.getOutputStream() much data (>=10Kbyte)
One the drain side, I read from an BufferedInputStream (connected to the
socket.getInputStream() ). 
Now if i write faster as i can read i loose some
parts of the messages. It seems, that the buffer in the socket gets
overloaded by the write calls. Or is the flush call the problem? Hmmm...
question: what happens if the socket-buffer is full and you want to write to it?
PLEASE HELP!
Thanks
	Lukas
-- 
*****************************************************************
* Lukas Weberruß		Tel(priv.) 	: 07143-841029 
* Heuchelbergstr. 7		Fax.		: 07143-841059 
* 74366 Kirchheim am Neckar	Tel(gesch.)	: 0711-685-5308
* Homepage	: www.klue.de
* Email (priv)	: lukas@klue.de
* Email (gesch.): weberrus@mathematik.uni-stuttgart.de
*****************************************************************


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /