On Nov 16, 2007 3:38 PM, Trustin Lee <[EMAIL PROTECTED]> wrote: > On Nov 15, 2007 9:34 AM, minatds <[EMAIL PROTECTED]> wrote: > > Hi All, > > I still have this problem where I cannot send urgent data packets. > > In my Gateway application, I basically proxy between legacy applications and > > a mainframe. > > These legacy applications send urgent data packets for which mainframe sends > > a response and > > they use as their sync mechanism. > > I cannot use SocketConnector as it does not implement raw Java sockets. > > There is a defect opened in this regard. > > > > I am trying to find any work around for this solution. > > > > How can I combine raw socket with IOHandler. > > Can I open the socket when the session is opened and store in the session as > > attachment and > > write to that socket. > > and then immediately wait for any response from the socket inputstream and > > wrap it as bytebuffer and write it to session? > > > > is this a good approach? > > As I already commented in the JIRA issue you created, it's impossible > with current JDK implementation. There's one alternative I can't > think of if you want to use MINA with your use case for now: the > implementation of blocking I/O based socket transport. You could > contribute in this area, of course.
I can't think of if -> I can think of is -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6
