FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 538 : Server.write(bytes[]) hangs sketch on client disconnect.
Last modified: 2007-10-20 12:26
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
DUPLICATE of bug
537
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
mellis
Assigned To:
fry
Attachment
Type
Created
Size
Actions
sketch demonstrating the problem
application/zip
2007-03-22 09:16
521 bytes
Description
: Opened: 2007-03-22 09:15
See the attachment for details, but basically, my draw() function calls
server.write(byte[]). If I telnet to the sketch and then disconnect, I get:
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
Then, a few loops throw the draw() function later, the sketch hangs: print
statements in both draw() and mousePressed() no longer execute.
Additional Comment
#1 From mellis 2007-03-22 09:16
edit
]
sketch demonstrating the problem
Run the sketch, telnet to localhost 5331, disconnect, and the sketch hangs.
Additional Comment
#2 From fry 2007-03-28 15:42
got it, thanks again. still need to sit down with the net lib and kick it a
few times.
Additional Comment
#3 From fry 2007-10-20 12:26
*** This bug has been marked as a duplicate of
537
***