Re: Sockets, writing data and shutdownOutput
- From: "HK" <pifpafpuf@xxxxxx>
- Date: 2 Aug 2005 09:13:19 -0700
jan V wrote:
> > It is not the data hanging in a buffer. It is the EOF.
>
> I'm going to kick you [figuratively ;-) ] (and you're going to kick
> yourself) if the problem stems from a lack of close(). Are you calling
> 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,
which is exactly what I not want.
Harald.
.
- Follow-Ups:
- Re: Sockets, writing data and shutdownOutput
- From: jan V
- 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
- Sockets, writing data and shutdownOutput
- Prev by Date: Re: Executible Java
- Next by Date: Re: J2EE and developer productivity
- Previous by thread: Re: Sockets, writing data and shutdownOutput
- Next by thread: Re: Sockets, writing data and shutdownOutput
- Index(es):
Relevant Pages
|