This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
socket-overflow
- To: java-discuss at sourceware dot cygnus dot com, java-mailinglist paderborn <jug-info at uni-paderborn dot de>
- Subject: socket-overflow
- From: Lukas Weberruß <lukas at klue dot de>
- Date: Fri, 25 Feb 2000 19:07:33 +0100
- Organization: CLUE
- Reply-To: lukas at klue dot de
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
*****************************************************************