Re: Sockets, writing data and shutdownOutput
- From: "jan V" <nul@xxxxxx>
- Date: Tue, 02 Aug 2005 16:27:33 GMT
> > close() on the stream???? The server is only going to see EOF if you
close()
> > the OutputStream in the client....
>
> Not true. shutdownOutput() on the client side signals
> EOF to the server. However, a close() on the
> OutputStream shuts down the whole socket,
Well, maybe you're using a different version of Java than the version (1.3)
I used to build a system which totally relied on closing output streams to
send EOFs to the recipient. Under 1.3 this worked 100% of the time... what
version are you using?
.
- Follow-Ups:
- Re: Sockets, writing data and shutdownOutput
- From: Esmond Pitt
- Re: Sockets, writing data and shutdownOutput
- From: HK
- Re: Sockets, writing data and shutdownOutput
- References:
- Sockets, writing data and shutdownOutput
- From: HK
- Re: Sockets, writing data and shutdownOutput
- From: jan V
- Re: Sockets, writing data and shutdownOutput
- From: HK
- Re: Sockets, writing data and shutdownOutput
- From: jan V
- Re: Sockets, writing data and shutdownOutput
- From: HK
- Re: Sockets, writing data and shutdownOutput
- From: HK
- Sockets, writing data and shutdownOutput
- Prev by Date: Re: J2EE and developer productivity
- Next by Date: Re: java regex equiv to perl !~
- Previous by thread: Re: Sockets, writing data and shutdownOutput
- Next by thread: Re: Sockets, writing data and shutdownOutput
- Index(es):
Relevant Pages
|