From: hiwa on 17 Mar 2010 19:52 On Mar 17, 7:50 pm, "Richard Maher" <maher...(a)hotspamnotmail.com> wrote: > Hi EJP, > > "EJP" <esmond.not.p...(a)not.bigpond.com> wrote in message > > news:65Vnn.13412$pv.8699(a)news-server.bigpond.net.au... > > > On 17/03/2010 1:47 AM, Thomas Pornin wrote: > > > I can confirm. It is true without the buffered streams as well. The two > > > streams associated with a socket are independent from each other, save > > > for what happens upon closing either (or the socket itself). But > > > explicit synchronization is not needed either for that anyway. > > > Qualification: if you started with a SocketChannel and got the streams > > via Channels.newInput/OutputStream, the input and output streams are > > synchronized internally for some reason, so problems can occur if you > > try to use them in full-duplex mode. However if you started with a > > Socket you are OK. > > Thanks for the heads-up about SocketChannels but we're using plain Sockets > so looks like we should be ok. > > Thanks again > > Cheers Richard Maher Hi EJP We'd like you reviving your telekinesis.au site. We need some files there to see regarding your FNiJ book. hiwa
First
|
Prev
|
Pages: 1 2 Prev: JSF generic/dynamic form ? Next: Cross Platform/Browser way to send PNG file to Webserver |