Re: [HAPI-devel] StreamReader.Read Hangs

2009-03-22 Thread Lansdale Redmond
Set timeout on the socket From: James Agnew To: [email protected] Cc: [email protected] Sent: Sun Mar 22 18:11:24 2009 Subject: Re: [HAPI-devel] StreamReader.Read Hangs Hi Murali, It sounds like what you need to do is call Socket

Re: [HAPI-devel] StreamReader.Read Hangs

2009-03-22 Thread James Agnew
Hi Murali, It sounds like what you need to do is call Socket#setSoTimeout() on your socket. InputStream objects don't really support any way of being made non-blocking, but the underlying socket could be. James On Mon, Mar 2, 2009 at 1:01 PM, Murali wrote: > Hi All, > > I have built HL7 cli