Outgoing socket connections in fact don't set TCP_NO_DELAY (only KEEP_ALIVE).
In HAPI 2.1 you will be able to use your own SocketFactory, but currently
there's no way to influence socket parameters.
Feel free to add an issue to http://sourceforge.net/tracker/?group_id=38899.

Is there a way to display TCP delayed acknowlegdments in netty?

cheers
Christian





JR Ruggentaler-3 wrote:
> 
> When I send a message from the TestPanel to my app the message times-out
> (Failed to transmit message. Timeout waiting for response to message with
> control ID ###). If I send a second message both messages are received by
> my application. The TestPanel receives the ack from the second message.
> Does the network layer of TestPanel set the TCP_NODELAY socket option? I
> tried grepping the HAPI source but did not find TCP_NODELAY. My
> application uses Netty to do NIO async communication.
> 
>  TCP_NODELAY
> 
> public static final int TCP_NODELAY
> 
> Disable Nagle's algorithm for this connection. Written data to the network
> is not buffered pending acknowledgement of previously written data.
> 
> Valid for TCP only: SocketImpl.
> 
> JR
> 
> ------------------------------------------------------------------------------
> Keep yourself connected to Go Parallel: 
> INSIGHTS What's next for parallel hardware, programming and related areas?
> Interviews and blogs by thought leaders keep you ahead of the curve.
> http://goparallel.sourceforge.net
> _______________________________________________
> Hl7api-devel mailing list
> Hl7api-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
> 
> 

-- 
View this message in context: 
http://old.nabble.com/TestPanel-message-not-getting-sent-immediately-tp34731013p34731691.html
Sent from the hl7api-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to