4D Blog

Home Product Deprecation of the Legacy Network Layer

Deprecation of the Legacy Network Layer

June 5, 2024

Product

To handle the communication between 4D Client and 4D Server, 4D proposes 3 different network layers:

  • Legacy,
  • ServerNet,
  • and QUIC.

The Legacy network layer was introduced 30 years ago in 4D v3. It was originally developed for AppleTalk, enhanced for ISDN, and then added IPX and finally TCP/IP.

It was created for a very different Client/Server usage than 4D works today: it is single-threaded, optimized for slow networks with no encryption, and available for many different network protocols. As such, it is not optimized at all for modern network communications and supports a very limited number of features.

That’s why, with 4D 20 R5, we have decided to make the Legacy network layer obsolete and plan to remove it soon. We encourage you to move to ServerNet now if you are still using it. Let me explain what benefits you will get from the switch.

About 10 years ago, 4D started developing ServerNet, a new protocol based on modern hardware and networks that aims to replace the Legacy network layer. ServerNet is faster, more reliable, and more feature-rich. Today, our biggest customers use ServerNet daily to host more than a thousand simultaneous connections.

Benefits of ServerNet

ServerNet is preemptive: For each client preemptive process, we run a preemptive thread on the server. You can’t use the Legacy network to run preemptive threads on the client. If you have hundreds or even thousands of processes, ServerNet is mandatory.

Sleep Mode: When a client machine enters sleep mode, the Legacy network closes the network connection, forcing the client to quit the application. ServerNet, on the other hand, keeps the connection alive until the user wakes up their machine.

SSO (Single Sign On through Active Directory): Single Sign On on Windows allows you to automatically authenticate your users without any login dialog by using their Active Directory user. It’s only available on Windows and not on the Legacy layer.

A quick word about QUIC

With 4D 20, we announced we were working on a new network layer. The QUIC network layer uses the QUIC protocol (that supports HTTP/3, for example) and is aimed at improving the stability of the Client/Server connection on unreliable networks like Wi-Fi and 5G.

QUIC holds immense potential for future applications requiring better performance on these network types. We’re actively working on improving its stability, and we encourage you to stay tuned for exciting developments.

In the meantime, ServerNet remains our recommended choice for most applications due to its proven stability and feature set.

As usual, we welcome your questions and feedback about this change on the 4D forum. Share your experiences, and let’s discuss how these advancements can benefit your applications!

Discuss

Tags 20 R5, 21, 4D server, Client/Server, Network, QUIC, ServerNet

Latest related posts

  • February 3, 2026

    4D Write Pro – Adding a margin automatically when bullets are set using standard actions

  • January 22, 2026

    Transform Static Documents into Actionable Knowledge with AIKit

  • January 22, 2026

    Deploy Fluent UI effortlessly in your 4D applications

Nicolas Brachfogel
Nicolas Brachfogel
Product Owner & Senior Developer - Nicolas Brachfogel joined 4D in 2017 as senior developer (4D Server and networking) and as Product Owner to manage the 4D version on Apple Silicon. He is tasked with the redaction of user stories and functional specifications, as well as the verification that the new features are in line with customers' needs. With a degree from Institut Supérieur d'Informatique Appliquée Paris (INSIA), Nicolas started his career as a software developer in 2001. After many years of development in Java and C++, he specialized himself in client-server development in the video game industry. As a developer/software architect, he worked on the server architectures of many games (Dofus Arena, Drakerz, Trivial Pursuit Go !).
  • Deutsch
  • Français
  • English
  • Português
  • Čeština
  • Español
  • Italiano
  • 日本語

Categories

Browse categories

  • 4D View Pro
  • AI
  • 4D Write Pro
  • 4D for Mobile
  • Email
  • Development Mode
  • 4D Language
  • ORDA
  • User Interface / GUI
  • Qodly Studio
  • Server
  • Maintenance
  • Deployment
  • 4D Tutorials
  • Generic
  • 4D Summit sessions and other online videos

Tags

4D AIKit 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R10 21 21 R2 Administration AI Artificial Intelligence Build application CI/CD Class Client/Server Code editor Collections Formula Listbox Logs Mail Microsoft 365 Network Objects OpenAI ORDA PDF Pictures Preemptive Programming REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience vscode Web Word processor

Tags

4D AIKit 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R10 21 21 R2 Administration AI Artificial Intelligence Build application CI/CD Class Client/Server Code editor Collections Formula Listbox Logs Mail Microsoft 365 Network Objects OpenAI ORDA PDF Pictures Preemptive Programming REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience vscode Web Word processor
Subscribe to 4D Newsletter

© 2026 4D SAS - All rights reserved
Terms & Conditions | Legal Notices | Data Policy | Cookie Policy | Contact us | Write for us


Subscribe to 4D Newsletter

* Your privacy is very important to us. Please click here to view our Policy

Contact us

Got a question, suggestion or just want to get in touch with the 4D bloggers? Drop us a line!

* Your privacy is very important to us. Please click here to view our Policy