Skip to content

BitmasterXor/Mormot-V2-TAsyncServer-and-Client-Connections-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

🔄 Delphi mORMot Sockets (Asynchronous Server)

A Delphi VCL application that creates an asynchronous server using the mORMot library. This server can manage multiple client connections, send messages, and dynamically update the client list.

📋 Features

  • Asynchronous Server: Implements a non-blocking server using mormot.net.async and mormot.net.sock.
  • Messaging: Supports sending messages to a specific client or broadcasting to all connected clients.
  • Client Management: Displays connected clients in a TListView and logs server activities in a TMemo.
  • Automatic Client Updates: Dynamically adds or removes clients from the list upon connection or disconnection.

🔍 Overview

  • Button1Click: Starts or stops the asynchronous server on a specified port.
  • SendToSelectedClient: Sends a custom message to a specific client ID.
  • SendToAllClients: Broadcasts a custom message to all clients.
  • LogMessage: Displays server logs and events in the TMemo.
  • TConnection: Handles client connections, data reading, and connection events.

🛠️ Requirements

  • Delphi RAD Studio: IDE with VCL support.
  • mORMot V2 Library: Download from GitHub.

📜 License

This project is provided as freeware. Use at your own risk for research purposes.

📧 Contact

Discord: BitmasterXor

Developed with ❤️ by BitmasterXor, using Delphi RAD Studio.

About

MorMot V2 TAsyncServer and TAsyncClient Multiple Connections Example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages