26 مستودعات
Implementation of network applications using TCP socket lifecycles, address binding, and byte stream exchange.
Distinct from TCP Socket Clients: The candidates focus on listeners, bindings, or tuning, whereas this is the comprehensive practice of TCP socket programming.
Explore 26 awesome GitHub repositories matching networking & communication · TCP Socket Programming. Refine with filters or upvote what's useful.
WasmEdge is an extensible WebAssembly runtime that executes WebAssembly bytecode in a secure sandbox for cloud, edge, and embedded applications. It functions as a multi-language compiler, compiling applications written in Rust, JavaScript, Go, and Python into WebAssembly bytecode for sandboxed execution, and as a server-side JavaScript runtime that runs JavaScript programs with ES6 modules, NPM packages, and Node.js-compatible APIs. The runtime also serves as an AI inference runtime, executing AI models from JavaScript using WASI-NN plug-ins for inference tasks on personal devices and edge har
Builds TCP-based servers from WebAssembly using low-level socket APIs for custom network services.
SocketRocket is an Objective-C WebSocket client library designed to establish bidirectional real-time communication channels between an application and a server. It provides a networking layer for real-time data streaming, utilizing a heartbeat monitor to maintain the stability of active network streams. The library is built to operate across restricted networks by routing traffic through HTTP proxies. It secures data transmission using TLS encryption and SSL certificate pinning to prevent unauthorized interception of network traffic. Its underlying capabilities include low-level TCP socket
Manages low-level network sockets to handle raw data transmission and bidirectional byte streams.
POCO is a comprehensive C++ application framework that provides a cross-platform set of libraries for building network-centric applications. It offers a unified abstraction layer that wraps platform-specific APIs, enabling the same code to run across desktop, server, mobile, IoT, and embedded systems. The framework is organized into modular libraries that can be compiled and linked selectively, allowing developers to include only the components their application needs. The framework distinguishes itself through its broad coverage of application infrastructure needs, including threading and sy
Provides TCP/IP socket programming support including TCP, UDP, multicast, and raw sockets.
LearnPython is a programming tutorial consisting of a collection of practical code examples used to demonstrate Python language features and programming patterns. It serves as a comprehensive learning resource that implements core language concepts through functional code. The project provides specialized guides and samples covering several key domains. These include asynchronous network programming with event loops and coroutines, data visualization using numerical datasets for 2D and 3D plots, and web scraping for fetching content and automating login flows. It also features instructions on
Implements TCP socket servers that listen for incoming network connections and send responses.
Win32-OpenSSH is a secure shell suite that provides an OpenSSH port for Windows operating systems. It consists of an SSH server for remote management and authentication, a secure shell client for establishing encrypted connections, and an SFTP server for managing files. The project enables secure remote administration of Windows servers and workstations via a command line interface. It supports encrypted file transfers using SFTP and SCP protocols and allows for cross-platform remote management of Windows systems from Linux or macOS environments. The implementation integrates with Windows se
Implements network connectivity and listener management using the native Windows Sockets API.
AndroidAsync is a non-blocking networking library for Android that provides asynchronous sockets, HTTP clients, and servers based on Java NIO. It serves as a toolkit for managing raw TCP socket connections and bidirectional data streams using an asynchronous input and output architecture. The library includes a dedicated WebSocket framework for establishing persistent full-duplex communication channels between Android clients and servers. It also enables the hosting of a lightweight asynchronous HTTP server directly on an Android device to handle incoming network traffic. Its broader capabil
Provides low-level non-blocking TCP socket programming capabilities for custom data exchange protocols on Android.
Smallchat is a minimal implementation of a concurrent network server and TCP-based chat system designed as a demonstration of C socket programming. It provides a basic server and client architecture that enables real-time text communication between multiple connected users. The project focuses on the implementation of a networked chat server that handles simultaneous client sessions. It utilizes a centralized broadcasting model to route incoming text from one client to all other active participants. The system manages concurrent client connections and session tracking using socket descriptor
Provides a comprehensive demonstration of TCP socket programming, including address binding and byte stream exchange.
This project is a C++ TCP server framework and educational socket programming guide. It provides a high-performance network library focused on event-driven architecture, implementing a reactor pattern to handle thousands of simultaneous client connections. The framework is distinguished by its multi-threaded event loop, which utilizes a main-sub reactor coordination model to distribute network events across a worker thread pool. It includes an abstraction layer for non-blocking socket I/O and event multiplexing via the epoll system call, decoupling network transport from application business
Manages the complete lifecycle of TCP sockets from creation and binding to accepting connections.
nanomsg is a distributed messaging middleware and scalable messaging library designed for moving data between machines and processes. It functions as a socket-based communication framework that routes data across different network transport layers. The library implements scalable messaging patterns, specifically request-reply and publish-subscribe, to handle high volumes of data across distributed systems. It provides tools for network performance benchmarking to quantify messaging throughput and latency. The framework supports distributed message routing and inter-process communication usin
Provides a socket-based programming interface for distributed messaging operations.
websocket-sharp هي مكتبة C# لتنفيذ بروتوكول WebSocket تُستخدم لبناء تطبيقات العميل والخادم ثنائية الاتجاه. تتيح تبادل البيانات في الوقت الفعلي بين نقاط النهاية عبر اتصالات مستمرة. توفر المكتبة قدرات شبكات متخصصة، بما في ذلك شبكات مشفرة بـ SSL للنقل الآمن والتحقق من الشهادات. كما تتميز بنفق وكيل HTTP لتوجيه حركة المرور عبر خوادم وسيطة باستخدام مصادقة أساسية أو ملخصة. يغطي المشروع نطاقاً واسعاً من القدرات، بما في ذلك تنفيذ عملاء وخوادم WebSocket، وتوجيه الخدمة القائم على المسار، والقدرة على بث الرسائل إلى عملاء متعددين. يتضمن المشروع دعماً لإدارة بيانات تعريف المصافحة (handshake) وضغط الحمولة لتقليل حجم نقل البيانات.
Directly manages raw TCP sockets to handle the binary streaming requirements of the protocol.
This is an open-source, crowd-sourced wiki textbook that teaches Linux system programming in C. It covers the core operating system concepts of process management through the fork-exec-wait model, dynamic memory allocation using implicit free list heap allocators, inode-based file systems, inter-process communication via pipes and shared memory, POSIX threads with synchronization primitives, signal-based asynchronous notification, virtual memory with page table translation, and runtime diagnostics using Valgrind and GDB. The textbook distinguishes itself by providing practical, implementation
Provides tutorials on building TCP and UDP client-server applications with sockets and epoll.
Arduino CLI هي واجهة سطر أوامر لتجميع ورفع وإدارة المكتبات ونواة اللوحات للأجهزة المتوافقة مع Arduino. تعمل كمدير لسلسلة أدوات المتحكمات الدقيقة وأداة برمجة للأجهزة، حيث توفر أدوات لاكتشاف وتثبيت تعريفات المنصات والمجمعات المطلوبة لمختلف معماريات الأجهزة. يتميز المشروع بخادم تطوير يدعم RPC يسمح للبرامج الخارجية بتشغيل عمليات الأداة الداخلية وإدارة سير عمل الإلكترونيات المؤتمت برمجياً. كما يتضمن مصحح أخطاء للأجهزة تفاعلي لاستكشاف الأخطاء وإصلاحها في الوقت الفعلي للكود الذي يعمل على الأجهزة الفعلية. تغطي الأداة إدارة اللوحات والمكتبات، بما في ذلك تحليل التبعيات، ومزامنة الفهارس، ودمج مستودعات الطرف الثالث. تشمل قدرات البناء والنشر تجميع الكود المصدري، ورفع الملفات الثنائية، وتثبيت محمل الإقلاع (bootloader)، مدعومة بمراقبة مخرجات المنفذ التسلسلي واكتشاف الأجهزة المتصلة. توفر الأداة ميزة الإكمال التلقائي في الصدفة (shell completion) وتدير إعدادات البيئة من خلال نظام تهيئة يعتمد على الملفات.
Implements a gRPC server that allows the CLI to operate as a background process for handling remote requests.
AndroRAT هي أداة إدارة عن بعد وإطار عمل مراقبة لأجهزة Android. تتكون من خادم أوامر قائم على Python وعميل Java ينشئ اتصالات مقبس (socket) مستمرة لتمكين التحكم عن بعد واستخراج البيانات. يتضمن المشروع مولد حمولة لإنشاء حزم تثبيت موقعة مهيأة بعناوين شبكة ومنافذ محددة للنشر. بمجرد تنشيطه، يوفر إطار العمل واجهة مركزية لإدارة أجهزة متعددة متصلة، مع الحفاظ على الوصول عبر خدمة خلفية تعيد التشغيل عند إقلاع الجهاز. يغطي النظام الإدارة عن بعد من خلال تنفيذ shell تفاعلي ونقل بيانات النظام. كما يوفر قدرات مراقبة لاسترداد سجلات الاتصالات، واستخراج معلومات الجهاز وبيانات الموقع، والتقاط الصوت والفيديو والصور عن بعد.
Implements persistent TCP socket connections for bidirectional communication between the Python server and Java client.
هذا المشروع عبارة عن إطار عمل gRPC لـ Node.js يُستخدم لتنفيذ استدعاءات الإجراءات البعيدة عالية الأداء. يوفر مكتبة اتصال بين العميل والخادم تستخدم HTTP/2 للبث، وتعدد الإرسال، والتأطير الثنائي، إلى جانب تنفيذ مخازن البروتوكول (protocol buffers) لتعريف البيانات المنظمة وإنشاء كعب الخدمة (service stubs). يتضمن إطار العمل سلسلة أدوات لتجميع ملفات مخازن البروتوكول إلى كائنات خاصة باللغة ويدعم إنشاء تعريفات نوع TypeScript ثابتة للتحقق من الكائنات في وقت التشغيل. تغطي المكتبة شبكات الأنظمة الموزعة واتصالات الخدمات المصغرة، بما في ذلك تشفير SSL/TLS، وضغط الرسائل، وموازنة التحميل. تدير دورة حياة الطلب من خلال المواعيد النهائية، وإعادة المحاولات، واستعادة الاتصال، وإلغاء المكالمات. تشمل الإمكانيات الإضافية بث البيانات ثنائي الاتجاه، وانعكاس الخدمة للاكتشاف البرمجي، وخدمات فحص الصحة القياسية.
Provides the core server implementation to host gRPC services and respond to remote procedure calls.
Goravel هو هيكل تطوير متكامل وإطار عمل لبناء تطبيقات الويب، وREST APIs، وخدمات gRPC باستخدام لغة البرمجة Go. ينفذ معمارية النموذج-العرض-المتحكم (MVC) ويوفر مجموعة أدوات شاملة لخوادم وعملاء استدعاء الإجراءات البعيدة (RPC) عالية الأداء. يتميز إطار العمل بنظامه البيئي المتكامل الواسع، والذي يتضمن أداة تعيين كائنات علائقية (ORM) سلسة لإدارة قواعد البيانات ومجموعة أدوات واجهة سطر أوامر مخصصة لأتمتة الإدارة وهيكلة المشاريع. يتميز بتجريد الخدمة القائم على المحركات (Driver-based) الذي يسمح للمطورين بتبديل التخزين، وذاكرة التخزين المؤقت، وخلفيات الجلسات دون تغيير منطق التطبيق. تغطي المنصة سطحاً واسعاً من قدرات التطبيقات، بما في ذلك معالجة المهام غير المتزامنة مع الطوابير الموزعة، وإدارة الهوية الآمنة عبر المصادقة القائمة على الرموز (Tokens)، وطبقة أمان قوية مع التشفير والتحكم في الوصول. كما توفر أدوات لتوطين المحتوى، وعرض القوالب، وبنية تحتية للاختبار المؤتمت مع محاكاة التبعيات.
Implements a high-performance gRPC server that handles remote procedure calls through controllers and registered routes.
هذا المشروع عبارة عن قاعدة تعليمية وتطبيق شبكي غير متزامن لخادم وعميل متوافق مع Redis. يعمل كعرض توضيحي لوقت تشغيل Tokio غير المتزامن، ويوفر مخزناً للمفاتيح والقيم عبر الشبكة ونظام مراسلة. يطبق المشروع بروتوكول تسلسل Redis (RESP) للتواصل بين العملاء والخوادم باستخدام تدفقات البايت. ويتميز بنظام مراسلة للنشر والاشتراك (pub-sub) يسمح للعملاء بالاشتراك في قنوات مسماة وتلقي تحديثات في الوقت الفعلي. يغطي التطبيق برمجة الشبكات غير المتزامنة، بما في ذلك معالجة اتصالات TCP المتزامنة وتحليل إطارات تدفق البايت. كما يتضمن إدارة حركة المرور من خلال تحديد الاتصالات وعملية لإيقاف الخادم بشكل آمن.
Provides a basic implementation of a Redis-compatible server and client for educational purposes.
H2 is a JDBC-compliant relational database management system written in Java. It functions as an embeddable SQL database that can run directly within an application process to remove network latency, or as an in-memory database for high-performance volatile storage. It also includes a web-based console for executing SQL commands and administering schemas. The system is characterized by its flexible deployment modes, including a standalone server mode for remote TCP/IP access and a mixed mode for simultaneous local and remote connectivity. It features a dialect emulation layer and compatibilit
Supports a server-client model allowing remote applications to access data via TCP/IP sockets.
Redka هو مخزن مفتاح-قيمة مدعوم بـ SQL ينفذ واجهة متوافقة مع Redis. يعمل كجسر بيانات علائقي، حيث يترجم أوامر البروتوكول غير العلائقية إلى استعلامات علائقية لتوفير الاستمرارية ومعاملات ACID باستخدام قاعدة بيانات SQL. يسمح النظام باستبطان البيانات العلائقية من خلال كشف بيانات مفتاح-قيمة الداخلية كعرض SQL، مما يتيح الاستعلام المباشر والتحليل عبر بناء الجملة العلائقي. يمكن نشره كخادم شبكة مستقل أو كمكتبة مضمنة داخل تطبيق Go. يدعم المشروع مجموعة متنوعة من هياكل البيانات، بما في ذلك السلاسل، والقوائم، والهاش، والمجموعات غير المرتبة، والمجموعات المرتبة. يوفر قدرات لإدارة دورة حياة المفتاح مع بيانات وصفية لوقت البقاء (TTL)، وعمليات رقمية ذرية، وجبر المجموعات. لإدارة الأداء والوصول، يتضمن وضع تخزين في الذاكرة ووضع اتصال للقراءة فقط.
Implements a Redis-compatible API interface that translates non-relational commands into relational SQL queries.
smoltcp هو مكدس شبكة TCP/IP مستقل مكتوب بلغة Rust، مصمم خصيصاً للأنظمة المدمجة والأنظمة التي تعمل بدون نظام تشغيل (bare-metal). يوفر تنفيذاً آمناً للذاكرة لمجموعة بروتوكولات الإنترنت يعمل دون الحاجة إلى تخصيص ذاكرة ديناميكي (heap allocation). يتميز المشروع بإدارة ذاكرة خالية من الـ heap، باستخدام مخازن مؤقتة ثابتة الحجم وذاكرة مخصصة يدوياً لضمان أداء حتمي. ويستخدم معالجة الحزم بدون نسخ (zero-copy) وتجريداً للأجهزة يعتمد على الواجهات لفصل مكدس الشبكة عن الأجهزة المادية. يغطي المكدس مجموعة واسعة من قدرات الشبكات، بما في ذلك تدفقات TCP الموجهة للاتصال مع التحكم في الازدحام، و datagrams UDP غير الموجهة للاتصال لكل من IPv4 و IPv6. ويدعم إدارة طبقة ربط Ethernet، ورسائل تشخيص ICMP، والتوجيه القائم على CIDR، وشبكات 6LoWPAN اللاسلكية المتخصصة مع ضغط الرأس للبيئات منخفضة الطاقة. تتضمن المكتبة أدوات لإدارة واجهة الشبكة، والتقاط الحزم الخام، وحدود الموارد القابلة للتكوين لتناسب قيود الأجهزة المحددة.
Implements a complete TCP socket system for reliable connection-oriented byte stream exchange.
هذا المشروع هو تطبيق .NET لإطار عمل gRPC، يوفر نظاماً لتنفيذ الوظائف على خوادم بعيدة كما لو كانت استدعاءات محلية. يعمل كإطار عمل لاستدعاء الإجراءات البعيدة (RPC) عالي الأداء يستخدم HTTP/2 لاتصال الخدمة وبروتوكولات الاتصال الثنائية لضمان تبادل فعال للبيانات. يتضمن التطبيق وكيل gRPC-Web، الذي يعمل كطبقة ترجمة لتمكين التطبيقات القائمة على المتصفح من التواصل مع خدمات gRPC من خلال طلبات متوافقة مع الويب. كما يدعم إنشاء شبكات خدمة HTTP/2 لربط الخدمات المصغرة الموزعة بزمن انتقال منخفض. يغطي إطار العمل مجموعة واسعة من القدرات، بما في ذلك التسلسل الثنائي عبر Protobuf، وتوليد العقود المكتوبة بقوة، ودعم أنماط RPC الأحادية والمتدفقة. ويوفر ميزات استضافة خادم وإدارة عميل شاملة، إلى جانب أدوات إدارة حركة المرور مثل موازنة التحميل من جانب العميل وإعادة محاولة الاستدعاء التلقائية. يتم توفير دعم تشغيلي إضافي من خلال أمان نقل TLS، والتحكم في الوصول على مستوى الطريقة، وأدوات المراقبة بما في ذلك مراقبة صحة الخدمة وتسجيل التشخيص.
Implements high-performance servers that handle remote procedure calls over a binary protocol.