Re: [Quickfix-developers] QuickFIX 1.12.2 is 1 second slower than 1.11.1 on Logon turn-around and I
Brought to you by:
orenmnero
|
From: Oren M. <or...@qu...> - 2006-08-24 20:33:08
|
It is because the sockets are non-blocking. Their is no guarantee that the connection has completed at this point. It is of course possible that it has, but it may not have. So skipping the setPending call is rather unsafe. See the previous message I posted on this for an alternate fix. --oren > To > > setConnected(s); > > m_connections[ result ] > > = new SocketConnection( *this, s, result, > &m_connector.getMonitor() ); > > > > It started to behave as old version at least as far as timing of > Logon turn-around is concerned. > > It would be very interesting to learn the reason behind of pending > connections. > > Thank you. > > Len. > > |