EmbLogic's Blog

Author Archives: partap2014ece

Implemented FTP SERVER USING SOCKETS

60    { 61       if(database_size==3) 62          goto label3; 63       i=i+43; 64       goto  label; 65    } 66    read(connect_fd,password,10); 67    j=11; 68 label1: 69    lseek(fd1,j,SEEK_SET); 70    database_size1++; 71    ret=read(fd1,m_password,10); 72    if(ret<0) 73       perror(“reading file\n”); 74    if(!(strcmp(password,m_password))) 75    { 76       flag_password=0; 77    lseek(fd1,j+11,SEEK_SET); 78    … Continue reading

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

Message Queues imlementation

RCS file: sender.c,v Working file: sender.c head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: Implemented Message Queue using msgget(),msgsnd(),and msgrcv() functions. message queue is half duplex mode … Continue reading

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

Linklist using pop-up menu to create new linklist and inserting nodes at the end ,beginning of linklist

RCS file: linklist28_2.c,v Working file: linklist28_2.c head: 1.3 branch: locks: strict root: 1.3 access list: symbolic names: keyword substitution: kv total revisions: 3; selected revisions: 3 description: created linklist using functions. created insert at the end of linklist function. —————————- … Continue reading

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

creation of stack using Functions and pushing and popping operation.

RCS file: stack.c,v Working file: stack.c head: 1.4 branch: locks: strict root: 1.4 access list: symbolic names: keyword substitution: kv total revisions: 4; selected revisions: 4 description: created stack for 10 elements. save address of stack into stackstart. —————————- revision … Continue reading

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

MDC : Multiple data compression using iterative techniques

RCS file: mdc.c,v Working file: mdc.c head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1;    selected revisions: 1 description: implemented open ,read,master array functions. —————————- revision 1.1    locked by: root; date: 2014/02/20 … Continue reading

Posted in Project 2: Multiple Data Compression and Encryption | Tagged | Comments Off

project 1

reading file from file discriptor. creating buffer to store characters from text file. sorting unique chaacters and saving them into master array.

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