Monthly Archives: April 2015

Simple Ring Algorithm In C

Ring Algorithm is use in Distributed Systems As an Election Algorithm for selecting coordinator process  and so I am writing Simple Ring Algorithm In C. Note: This algorithm initiate election by lowest available process Id. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21… Read More »

C program to check open ports on a given IP address

This program checks whether an IP address is located over a network or not. If a system with the specified IP address is available on the network, it checks for the open ports (ports available for communication) and displays them. Program is purely written in C by Chetan D. Patil 1 2 3 4 5… Read More »

Bully Algorithm in C

Bully Algorithm The bully algorithm is a method in distributed computing for dynamically electing a coordinator by process ID number. The process with the highest process ID number is selected as the coordinator. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22… Read More »

Simple Chat Application using Java Socket programming

A socket is an endpoint for communication between two machines. Before starting to code for chat application using socket, it is very necessary to know the basics of how socket programming works. The figure given below sheds some light on the basics of socket programming that anyone needs to understand. socket() – create a new socket for… Read More »

How to make a pendrive bootable in Linux Mint

It’s very easy to make a bootable pendrive in Windows. We can use unetbootin, or rufus to make a pendrive bootable. Ubuntu comes with pre-installed start-up disk creator application through which a pendrive can be made bootable, but when it comes to Linux mint we have no pre-installed software to do our job. In this… Read More »