EmbLogic's Blog

Category Archives: Project 03: Client Server Communication using Linux and IPC

We need to creat an Inter Process Communication based Client-Server setup. There should be a Server program, Some clients would send requests to the server and the server would further find the appropriate client to process the request. The server then invokes the new client so as to process the request. The new client should then rend the result back to the server , which then sends it forward to the requesting client.

Socket programming based Home Automation

The main aim of this project is to implement Socket programming using Embedded linux based boards using beagle bone as server and pc as a client. The entire electrical system like home appliances are interfaced to Server (Beagle bone black) … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC, Project 04: FTP based Client Server using Threads and Sockets, Project 6: Client Server using Inter Process Communication Mechanism, Project 9: Embedded Linux on ARM | Tagged , , , | Leave a comment

client-server program using AF_UNIX

RCS file: header.h,v Working file: header.h head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: This is the base header file for the Project —————————- revision 1.1 locked … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC, Project 04: FTP based Client Server using Threads and Sockets | Leave a comment

Multiple Client server program using Thread,Pipes and signals

RCS file: ./header.h,v Working file: ./header.h head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: This is the header file —————————- revision 1.1 locked by: root; date: 2015/08/11 … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

Multiple Client-server Program using threads and Message Queue

RCS file: ./header.h,v Working file: ./header.h head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: This is the Base header file. —————————- revision 1.1 locked by: root; date: … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

Multiple client server program using Shared Memory

RCS file: ./header.h,v Working file: ./header.h head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: This is Base Header file for Multiple client server program using shared memory. … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

Multiple Client-server Program using Message Queue?

RCS file: ./header.h,v Working file: ./header.h head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: This is Base Header file for this project. —————————- revision 1.2 locked by: … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

Multiple Client-server Program using FIFO and Semaphore

RCS file: ./header.h,v Working file: ./header.h head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: This is the base header file for this multiple client server program. where … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

Multi-Tasking Operating System

Multitasking OS is the one that can simultaneously interleave execution of more then one process. They are of two types : >>cooperative multitasking : in this process don’t stop running until it voluntary decide to do so . This is … Continue reading

Posted in Character Driver, Project 03: Client Server Communication using Linux and IPC | Leave a comment

Multiple Client – server Program using PIPE and Signal.

PIPE to mean connecting a data flow from one process to another.PIPE is passed (a pointer to) an array of two integer file descriptors.It fills the array with two new file descriptors and returns a zero. On failure, it returns … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

Single Client Server And Single Thread Communication Using FIFO With Use The Shell Script

RCS file: header.h,v Working file: header.h head: 1.15 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 15;    selected revisions: 15 description: In file all include header files related this project. —————————- revision 1.15 date: 2016/02/25 06:18:43;  … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC, Shell Scripts | Leave a comment

SEVER SINGLE CLIENT FIFO AND PIPES WITH USE THE SHELL SCRIPT

RCS file: header.h,v Working file: header.h head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1;     selected revisions: 1 description: In file include a all header files realted this project. —————————- revision 1.1 date: 2016/02/04 … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

Project03: Linux System Programming & Client Server Communication

RCS file: fork.c,v Working file: fork.c head: 1.1 branch: locks: strict reena: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: process duplication for project 03: Inter Process Communication using fork() —————————- revision 1.1 … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

SEVER MULTIPLE CLIENT USING PIPES WITH USE A SHELL SCRIPT

RCS file: header.h,v Working file: header.h head: 1.2 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 2;     selected revisions: 2 description: In file a include a header files related the this project —————————- revision 1.2 date: … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC, Uncategorized | Leave a comment

How to Send a signal -Using Kill command

Send a signal by Kill command ======================= – To send a signal to a process other than current task. – It has prototype :- int kill(pid_t pid, int signo); – It is included using header :- #include<signal.h> – The system … Continue reading

Posted in Linux Internals and System Programming, Project 03: Client Server Communication using Linux and IPC | Tagged , , , , , , , , | 1 Comment

How to register a signal

Register a signal ================== – Program can handle a signal using signal library function signal(). – signal() is used to register the signal handler function with kernel on behalf of current process. – It is included in header :- #include<header.h> … Continue reading

Posted in Linux Internals and System Programming, Project 03: Client Server Communication using Linux and IPC | Tagged , , , , , , , | Leave a comment