EmbLogic's Blog

Author Archives: Joon Vichitra

rlog of dev_open dev_release.c ,dev_trim.c ,application.c ,dev_llseek.c ,dev_ioctl.c in character driver(till ioctl)

RCS file: RCS/dev_open.c,v Working file: dev_open.c head: 1.13 branch: locks: strict root: 1.13 access list: symbolic names: keyword substitution: kv total revisions: 13; selected revisions: 13 description: this file contain our dev_open routine —————————- revision 1.13 locked by: root; date: … Continue reading

Posted in Character Driver | Leave a comment

rlog of header.h,file_oper.h,ioctl.h,init.c,exit.c, in character driver(till ioctl)

RCS file: RCS/header.h,v Working file: header.h head: 1.17 branch: locks: strict root: 1.17 access list: symbolic names: keyword substitution: kv total revisions: 17;    selected revisions: 17 description: This is main header file All the required header file are include here … Continue reading

Posted in Character Driver | Leave a comment

communication between client and server(Both on different system) through socket with Domain-AF_INET

RCS file: RCS/server.c,v Working file: server.c head: 1.6 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 6;    selected revisions: 6 description: main server file Include socket.h and types.h —————————- revision 1.6 date: 2014/11/06 05:25:09;  author: root;  … Continue reading

Posted in Project 04: FTP based Client Server using Threads and Sockets | Tagged , , | Leave a comment

Done: client-server using AF_INET on the same system using loopback

RCS file: RCS/server.c,v Working file: server.c head: 1.3 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 3;    selected revisions: 3 description: main server file Include socket.h and types.h —————————- revision 1.3 date: 2014/11/04 12:02:06;  author: root;  … Continue reading

Posted in Project 04: FTP based Client Server using Threads and Sockets | Tagged , , , | Leave a comment

Client-server using socket (AF_UNIX)

RCS file: RCS/client.c,v Working file: client.c head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1;    selected revisions: 1 description: client requesting to server via socket —————————- revision 1.1 date: 2014/11/03 13:31:01;  author: root;  state: … Continue reading

Posted in Project 04: FTP based Client Server using Threads and Sockets | Tagged , , | Leave a comment

Client,server and process communication project using signals

Welcome to the Project!! n1=12, n2=23 Performing addition action In Server:Sum=35 In CLIENT: Result=35 n1=20, n2=8 Performing Subtraction action In Server:Sub=12 In CLIENT2: Result=12 n1=5, n2=8 Performing Multiplication action In Server:Mul=40 In CLIENT3: Result=40 RCS file: RCS/server.c,v Working file: server.c … Continue reading

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

client,server and process communication via pipes

RCS file: RCS/server.c,v Working file: server.c head: 1.8 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 8;    selected revisions: 8 description: program which act as a server to take the request of client done:created one child … Continue reading

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

process replacement followed by inter process comm. using file

This is the output: [root@localhost ipc]# ./p_comm File Open Successfully This is Parent with id=31340 This is child with id=31341 This is a new program which replaced the child Write By Child:: Success Read by Parent: Success     Child Said:Hello … Continue reading

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

Process replacement using execl

RCS file: p_replace.c,v Working file: p_replace.c head: 1.2 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 2;    selected revisions: 2 description: program to replace the child process using execl() —————————- revision 1.2 date: 2014/09/22 10:22:30;  author: … Continue reading

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

Completed creating a new process using fork, how orphan process works, wait by parent till child exit

RCS file: fork.c,v Working file: fork.c head: 1.4 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 4;    selected revisions: 4 description: program to create a duplicate process using fork —————————- revision 1.4 date: 2014/09/18 17:37:44;  author: … Continue reading

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

Getting start with Pointer

RCS file: RCS/basic_pointer.c,v Working file: basic_pointer.c head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1;    selected revisions: 1 description: basic pointer to under stand —————————- revision 1.1 date: 2014/08/29 09:22:19;  author: root;  state: Exp; … Continue reading

Posted in Data Structures with C | Tagged , , , , | Leave a comment

User defined string header file using pointer

RCS file: RCS/my_string.c,v Working file: my_string.c head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1;    selected revisions: 1 description: My String Header File —————————- revision 1.1 date: 2014/08/27 10:58:21;  author: root;  state: Exp; Initial … Continue reading

Posted in Data Structures with C | Tagged , , | Leave a comment

Structure assignment upto 3 question

RCS file: RCS/01_structure.c,v Working file: 01_structure.c head: 1.2 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 2;    selected revisions: 2 description: 1st question of structure assignment —————————- revision 1.2 date: 2014/09/02 10:08:42;  author: root;  state: Exp;  … Continue reading

Posted in Data Structures with C | Tagged , , , | Leave a comment

Completed MDC (Multiple data compression) in ‘c’

RCS file: RCS/header.h,v Working file: header.h head: 1.3 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 3;    selected revisions: 3 description: All header file are included in this file —————————- revision 1.3 date: 2014/08/30 20:12:53;  author: … Continue reading

Posted in Project 2: Multiple Data Compression and Encryption | Tagged , , | Leave a comment