EmbLogic's Blog

Author Archives: siddharth.rathore

Version Control System

A version control system allows you to track the history of a collection of files and includes the functionality to revert the collection of files to another version. Each version captures a snapshot of the files at a certain point … Continue reading

Posted in Uncategorized | Leave a comment

Parallel Port Modes

1. Compatibility Mode This mode defines the protocol used by most PCs to transfer data to a printer. It is commonly called the “Centronics” mode and is the method utilized with the standard parallel port. In this mode, data is … Continue reading

Posted in Uncategorized | Leave a comment

Using the /proc Filesystem

The /proc filesystem is a special, software-created filesystem that is used by the ker- nel to export information to the world. Each file under /proc is tied to a kernel func- tion that generates the file’s “contents” on the fly … Continue reading

Posted in Uncategorized | Leave a comment

Charact. Device Driver- Synchronization Techniques

Completed Synchronizations Technique: 1. Semaphore 2. Mutex 3. RW_Semaphore 4. Completion 5. Spinlock

Posted in Character Driver | Tagged , | Leave a comment

Open and Close File operations

head    1.3; access; symbols; locks; strict; comment    @ * @; 1.3 date    2014.01.10.09.25.47;    author root;    state Exp; branches; next    1.2; 1.2 date    2014.01.09.11.09.19;    author root;    state Exp; branches; next    1.1; 1.1 date    2014.01.06.10.23.58;    author root;    state Exp; branches; next    ; … Continue reading

Posted in Uncategorized | Leave a comment

Scull For Multiple Devices

head    1.2; access; symbols; locks; strict; comment    @ * @; 1.2 date    2014.01.09.11.09.19;    author root;    state Exp; branches; next    1.1; 1.1 date    2014.01.06.10.23.58;    author root;    state Exp; branches; next    ; desc @Header file for init.c and exit .c @ 1.2 … Continue reading

Posted in Uncategorized | Leave a comment

Character Device Driver 06/01/2014

log files head    1.1; access; symbols; locks; strict; comment    @ * @; 1.1 date    2014.01.06.10.23.58;    author root;    state Exp; branches; next    ; desc @Header file for init.c and exit .c —————————————————————————————————————————————————– head    1.1; access; symbols; locks; strict; comment    @ * … Continue reading

Posted in Character Driver, Device Drivers | Tagged | Leave a comment

Socket (AF_INET)

Log file for server head    1.1; access; symbols; locks root:1.1; strict; comment    @ * @; 1.1 date    2013.12.30.10.47.35;    author root;    state Exp; branches; next    ; desc @source file for ftp server ————————————————————————————————————————————- log file for client head    1.1; access; symbols; … Continue reading

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

Advantage and Drawbacks of Threads

Following are some advantages of using threads: Sometimes it is very useful to make a program appear to do two things at once. The classic example is to perform a real-time word count on a document while still editing the … Continue reading

Posted in Uncategorized | Leave a comment

Socket (AF_UNIX)

log file for server head    1.2; access; symbols; locks; strict; comment    @ * @; 1.2 date    2013.12.29.09.42.09;    author root;    state Exp; branches; next    1.1; 1.1 date    2013.12.29.09.35.38;    author root;    state Exp; branches; next    ; desc @main server file for socket … Continue reading

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

Server – Client using Threads

Log file for server head    1.1; access; symbols; locks; strict; comment    @ * @; 1.1 date    2013.12.28.07.56.32;    author emblogic;    state Exp; branches; next    ; desc @server with thread is created. data from client to thread . @ ———————————————————————- log file … Continue reading

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

Server-Client Communication using Message Queues Completed

Log File For Server: head    1.2; access; symbols; locks root:1.2; strict; comment    @ * @; 1.2 date    2013.12.24.10.09.27;    author root;    state Exp; branches; next    1.1; 1.1 date    2013.12.24.09.32.25;    author root;    state Exp; branches; next    ; desc @This is the main … Continue reading

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

IPC_PIPE

Introduction The Linux IPC (Inter-process communication) facilities provide a method for multiple processes to communicate with one another. There are several methods of IPC available to Linux C programmers. These facilities, when used effectively, provide a solid framework for client/server … Continue reading

Posted in Uncategorized | Tagged | Leave a comment