README.xnet 1.4 KB

12345678910111213141516171819202122232425262728
  1. XNET - new local protocol implementation (win32)
  2. ------------------------------------------------
  3. Firebird 2.0 has replaced the former (often referred to as IPC or IPServer)
  4. implementation of the local transport protocol with a new one, named XNET.
  5. It serves exactly the same goal - provide an efficient way to connect to the
  6. local server (without a remote node name in the connection string) - but it's
  7. implemented differently, in order to address the known issues with the old
  8. protocol. Generally speaking, both implementations use shared memory for
  9. inter-process communication, but XNET eliminates usage of window messages to
  10. deliver attachment requests and it also implements another synchronization
  11. logic.
  12. Advantages of the XNET protocol over IPServer:
  13. - it works with Classic Server
  14. - it works for non-interactive services and terminal sessions
  15. - it doesn't lock up when using a few connections simultaneously
  16. From the performance point of view, they should behave similarly, although
  17. XNET is expected to be slightly faster.
  18. As for disadvantages, there's only one - implementations are not compatible
  19. with each other. It means that your fbclient.dll version should match the
  20. version of the used server binaries (fbserver.exe or fb_inet_server.exe),
  21. otherwise you won't be able to establish a local connection (a TCP localhost
  22. loopback will do the trick, of course).