EmbLogic's Blog

Author Archives: Amardeep Rawat

Socket

Socket is a communication mechanism between two process.These process could be in the same system or different system.It is also known as end point of networking. Socket provide interfacing between the network and the application on the system.Socket is very … Continue reading

Posted in Uncategorized | Leave a comment

client server communication using FIFO is implemented successfully.

RCS file: client1.c,v Working file: client1.c head: 1.3 branch: locks: strict root: 1.3 access list: symbolic names: keyword substitution: kv total revisions: 3; selected revisions: 3 description: This is client1.c file opened SERVER_FIFO in O_WRONLY mode. prepare a request. —————————- … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC, Project 6: Client Server using Inter Process Communication Mechanism | Leave a comment

communication between 6 client through server using ipc is successfully done.

RCS file: header.h,v Working file: header.h head: 1.11 branch: locks: strict root: 1.11 access list: symbolic names: keyword substitution: kv total revisions: 11; selected revisions: 11 description: This is header file. include stdio.h,unistd.h declare prototype of invoke_req_client function —————————- revision … Continue reading

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

communication between 4 client process through server is made successfully.

RCS file: header.h,v Working file: header.h head: 1.5 branch: locks: strict root: 1.5 access list: symbolic names: keyword substitution: kv total revisions: 5; selected revisions: 5 description: This is header file. include stdio.h unistd.h —————————- revision 1.5 locked by: root; … Continue reading

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

communication between two client process through server process is made successfully.

RCS file: header.h,v Working file: header.h head: 1.5 branch: locks: strict root: 1.5 access list: symbolic names: keyword substitution: kv total revisions: 5; selected revisions: 5 description: This is header file. include stdio.h unistd.h —————————- revision 1.5 locked by: root; … Continue reading

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

2 bit mdc successfully done.

RCS file: header.h,v Working file: header.h head: branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 0 description: This is header file define prototype for compress decompress and master_array function include stdio.h stdlib.h fcntl.h string.h ============================================================================= RCS … Continue reading

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

Inter process communication using pipe successfully done.

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 header file include stdio.h stdlib.h sys/types.h unistd.h —————————- revision 1.2 locked … Continue reading

Posted in Linux Internals and System Programming | Leave a comment

inter process communication using file successfully done.

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: Header file —————————- revision 1.2 locked by: root; date: 2015/02/26 14:25:18; author: root; … Continue reading

Posted in Linux Internals and System Programming | Leave a comment

C program to sort n number of string.

#include #include int main() { int b; int i=0,j=0,k=0; char *a[10],c,*temp; printf(“How many string you want to enter:”); scanf(“%d”,&b); for(i=0;i<b;i++) { a[i]=(char*)malloc(sizeof(char)*20); } printf("Enter %d strings\n",b); for(i=0;i<b;i++) { scanf("%s",a[i]); } //Algorithm to sort string for(k=0;k<b;k++) { for(i=0;i(*(*(a+i+1)+j))) { temp=*(a+i); *(a+i)=*(a+i+1); … Continue reading

Posted in Data Structures with C | Leave a comment

3 bit mdc successfully done.

RCS file: mdc.c,v Working file: mdc.c head: 1.18 branch: locks: strict root: 1.18 access list: symbolic names: keyword substitution: kv total revisions: 18; selected revisions: 18 description: This is mdc.c file. here function are implemented. —————————- revision 1.18 locked by: … Continue reading

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

I have done 4 bit mdc.

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: header file for mdc.c —————————- revision 1.1 locked by: root; date: 2015/02/02 08:35:46; … Continue reading

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

File compression is done successfully.

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: header file for mdc.c —————————- revision 1.1 locked by: root; date: 2015/02/02 08:35:46; … Continue reading

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

I creat master array using function

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: header file for mdc.c —————————- revision 1.1 locked by: root; date: 2015/02/02 08:35:46; … Continue reading

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

Find the code length of master array.

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: header file for mdc.c —————————- revision 1.1 locked by: root; date: 2015/02/02 08:35:46; … Continue reading

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

I have created master array successfully

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: header file for mdc.c —————————- revision 1.1 locked by: root; date: 2015/02/02 08:35:46; … Continue reading

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