Can't get sockets to work
Tom Tromey
tromey@cygnus.com
Mon May 24 15:32:00 GMT 1999
>>>>> "Warren" == Warren Levy <warrenl@cygnus.com> writes:
Warren> Lincoln, try doing an os.flush(); right after your os.print of
Warren> the echo request. I suspect that the close of the Socket is
Warren> not flushing the output as is apparently happening in the JDK.
Warren> Though adding the os.flush(); fixed the behavior using gcj on
Warren> my platform, it'll take a bit more investigation to determine
Warren> what libgcj should be doing.
I don't think that either the JCL or the JLS requires a flush when
closing in this situation (or in most other situations).
I guess one might argue that we ought to do it for compatibility
anyway. I don't have an opinion on that.
Tom
More information about the Java
mailing list