On Thu, Apr 22, 2010 at 07:31, Ivan Arabadzhiev <intelru...@unrealsoft.net> wrote: > Is .Cancel() supposed to work like the mon tables (canceling basically > when it feels like it?) or is the API different in some way?
Did you read the RN for Firebird 2.5? It's all there. The command is killer whenever next switch of internal scheduler occurs. > And the second one - I make a ... little mistake in my previous post > (reffering to the ack/syn when I should`ve been talking about the > SO_KEEPALIVE). Does the fbprovider utilize such things? If it doesn`t I > will probably get on it after I finish a code cleanup of my own - will the > changes be of interest to the community(and if yes - should the KA > interval/timeout be specified via connection string or FbConnection > member?) or should I keep them to myself? It does not: this.socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); #if (!NET_CF) // Set Receive Buffer size. this.socket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReceiveBuffer, packetSize); // Set Send Buffer size. this.socket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.SendBuffer, packetSize); #endif // Disables the Nagle algorithm for send coalescing. this.socket.SetSocketOption(SocketOptionLevel.Tcp, SocketOptionName.NoDelay, 1); Firebird protocol itself has ability to use dummy packet, AFAIR. -- Jiri {x2} Cincura (CTO x2develop.com) http://blog.cincura.net/ | http://www.ID3renamer.com ------------------------------------------------------------------------------ _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider