how to orderly disconnect a java tcp socket
note to self: here is some handy info on how to correctly disconnect a tcp socket in java. it mostly boils down to _not calling .close() on your layered buffered readers and writers before calling .shutdownOutput() on the socket itself, and waiting for the appropriate reply.
0 Comments:
Post a Comment
<< Home