Archive

Posts Tagged ‘sockets’

A useful function for getting the host name and service of a socket.

October 20, 2014 Leave a comment

In this article I will present to you a useful function for getting the host name and service of a socket.

Read more…

How to implement an IP-Agnostic server application with POSIX sockets.

October 8, 2014 Leave a comment

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.

Read more…

The project ‘zws’ (Zepto Web Server).

September 28, 2014 Leave a comment

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.

Read more…

The project ‘gtrm’ (GNU Terminal Random Message).

September 19, 2012 Leave a comment

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.

Read more…