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
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
Hi All,
I have built HL7 client application which sent messages to any HL7 server and
able to receive messages back. I use MinLLPReader class.
when there was no ACK messages from the other end server,
streamreader.getmessage() just hangs.
If anyone comes across this issue, please share you exp
3 matches
Mail list logo