What steps will reproduce the problem?
1. Client program creates a non-blocking UDT channel.
2. Calls connect() on it BEFORE registering it with a selector.
3. Exception :
Jul 3, 2012 11:22:30 AM com.barchart.udt.nio.ChannelSocketUDT connect
SEVERE: UDT channel is in non blocking mode;must register with a selector
before trying to connect()
The above sequence of actions does work with the native TCP channels.
What version of the product are you using? On what operating system?
Tried on all BarchartUDT releases up to 1.0.2 - happens consistently.
OS: Linux 64-bit
uname -a output :
Linux 2.6.18-164.11.1.el5xen #1 SMP Wed Jan 20 08:06:04 EST 2010 x86_64 x86_64
x86_64 GNU/Linux
Please provide any additional information below.
The issue seems identical to that reported in
http://code.google.com/p/barchart-udt/issues/detail?id=21#c5
It is not clear if it has been fixed or if a fix was being planned.
Please advise on how to get around this without forcing the client
to register the channel with a selector before issuing the connect(). In my
case, the client is MINA, and I don't think it can be easily changed to
accommodate what BarchartUDT expects.
Original issue reported on code.google.com by florinsu...@gmail.com on 5 Jul 2012 at 2:53
Original issue reported on code.google.com by
florinsu...@gmail.com
on 5 Jul 2012 at 2:53