Tag Archive: server


In this article I will present to you a POSIX function I wrote that can be used to create a server socket to support both IPv4 and IPv6 addresses (IP-Agnostic). Recently, I needed to support this feature in a server application. The implementation uses POSIX system calls and data structures that can be used as generics to support both IPv4 and IPv6.

Continue reading

Zepto Web Server is a tiny open source HTTP web server well-written in C that can handle simple HTTP requests and serve information in HTML format by using dynamic modules that can be loaded at runtime. Also, the HTTP web server runs as a daemon process and is designed according to the MPM (Multi-Processing Module) architecture that allows multiple requests to be processed almost simultaneously. The main server daemon process creates and maintains various server workers which handle incoming requests.

Continue reading

The project ‘RestApiWrapUtility’ (RESTful API Wrapper Utility) is an open source .NET C# utility which implements a RESTful API wrapper. The utility is created in order to be an intermediate layer between clients that want to communicate with a remote server in order to use its RESTful services.

Continue reading

This project refers to an Arduino sketch that implements an Arduino Web Controller. Basically, the Arduino works as a network device that can be configured either locally or remotely by a special WEB interface. This technology is not new as it exists in other network devices. For example, routers or network printers are configured through a WEB interface.

Continue reading

It is true that Software Programming is a branch of Computer Science about which I’m pretty enthusiastic. But I’m very excited at the times when I learn something new and innovative on programming. Such a period of learning of new issues on programming was when I began to wonder about the way the Internet works. My questions were related to the client – server architecture model (on whose base the Internet and its services has been designed), how web applications is in practice implemented and how I could implement an Internet service on my own.

Continue reading

The project “PGASystem” (Parallel Genetic Algorithms System) is an under development system based on the client / server architecture and can be used to implement and study of parallel genetic algorithms.

Continue reading

This project refers to an Arduino sketch that implements a true random number generator with the help of an audio sensor. The sensor measures the sound volume in the nearby environment. The Arduino acts as a network device with an appropriate WEB interface in it from which we can access the random numbers. This technology is not new as it exists in other network devices. For example, routers or network printers have a WEB interface.

The WEB interface is installed in the Arduino itself and is supported with the help of a simple but quite progressive web server (which is also located within the Arduino). The Arduino is connected to the Internet with a special Ethernet card (Ethernet Shield). The Ethernet card is assigned with a static IP (because the Arduino in this case does not work as a client but as a server since the web server is executed there at port 80).

To enable the sound sensor to collect really random values as regards the volume of sound in the environment, it helps to place it in a noisy room or near a radio.

Continue reading

This project refers to an Arduino sketch that implements an online Morse Code web encoder. The Morse Code is until now a global communication system. However, it is now rarely used (it has been previously extensively used in the Navy and the Army in general). In this project, the Arduino works as a server, which remote clients can be connected to with the help of TCP sockets and send occasional messages on a regular alphanumeric form.

For example: “SOS! USA NAVY (12/02/1920, 23:00)”

Continue reading