EmbLogic's Blog

Category Archives: Uncategorized

FTP server using Sockets

RCS file: server.c,v Working file: server.c head: branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 0 description: implemented GETS,PUTS functions in ftp using socket programming. =============================================================================

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

Nested Structures Ft. Pointer

#include<stdio.h> #include<stdlib.h> struct disfeet { int *f; }; struct distance { struct disfeet *d; }; int main() { struct distance *d1; d1=(struct distance *)malloc(sizeof(struct distance)); d1->d=(struct disfeet *)malloc(sizeof(struct disfeet)); d1->d->f=(int *)malloc(sizeof(int)); printf(“enter distance\n”); scanf(“%d”,&d1->d->f); printf(“distance is %d feet.\n\n”,d1->d->f); return 0; … Continue reading

Posted in Uncategorized | Leave a comment

Parallel Port Device Driver(acquire the parallel pot by my DD)

#acquire the parallel port by my device driver… 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: include all the header file need for … Continue reading

Posted in Uncategorized | Leave a comment

Device Drivers If you choose to write a device driver, you must take everything written here as a guide, and no more. I cannot guarantee that this chapter will be free of errors, and I cannot guarantee that you will … Continue reading

Posted in Uncategorized | Leave a comment

implement at kernel to hello program

RCS file: cd_basic1.c,v Working file: cd_basic1.c head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: a program of character driver to say kernel to hello —————————- revision 1.1 date: 2014/06/21 … Continue reading

Posted in Uncategorized | Leave a comment

socket using thread

RCS file: ./soc_th_server.c,v Working file: ./soc_th_server.c head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: cleint program using socket with thread server program using socket with thread socket program using … Continue reading

Posted in Uncategorized | Leave a comment

implement own driver

head    1.1; access; symbols; locks root:1.1; strict; comment    @ * @; 1.1 date    2014.06.20.12.16.30;    author root;    state Exp; branches; next    ; desc @own driver . @ 1.1 log @Initial revision @ text @#include”header.h” static int initialization_fun(void) { printk(KERN_INFO”hello kernel”); return … Continue reading

Posted in Uncategorized | Leave a comment

Role Of Device Driver

As a programmer, you will be able to make your own choices about your driver, choosing an acceptable trade-off between the programming time required and the flexibility of the result. Though it may appear strange to say that a driver … Continue reading

Posted in Uncategorized | Leave a comment

how to install bluetooth drivers on fedora 17

please, tell me the steps to install bluetooth drivers on fedora 17….

Posted in Uncategorized | Leave a comment

create socket programme using client and server

CLIENT:- head    1.1; access; symbols; locks root:1.1; strict; comment    @ * @; 1.1 date    2014.06.17.10.36.05;    author root;    state Exp; branches; next    ; desc @creat reqclient for socket. @ 1.1 log @Initial revision @ text @#include”header.c” int main() { char data1[3]={5,4,’+’}; … Continue reading

Posted in Uncategorized | Leave a comment

Character Driver(/proc)

#sucessfully implement the /proc in device driver…. RCS file: application.c,v Working file: application.c head: 1.34 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 34; selected revisions: 34 description: this is the application program in the user … Continue reading

Posted in Uncategorized | Leave a comment

Inter-Process Communication with Sockets

Inter-Process Communication with Sockets Client-Server Model A standard model for distributed applications is the client-server model. A server is a process that is waiting to be contacted by a client process so that the server can do something or the … Continue reading

Posted in Uncategorized | Leave a comment

tcp/ip protocol project imlement using socket

head    1.1; access; symbols; locks root:1.1; strict; comment    @ * @; 1.1 date    2014.06.17.10.36.05;    author root;    state Exp; branches; next    ; desc @creat reqclient for socket. @ 1.1 log @Initial revision @head    1.1; access; symbols; locks root:1.1; strict; comment    @ … Continue reading

Posted in Uncategorized | Leave a comment

FTP based Client Server project using sockets and threads

Sockets are the fundamental technology for programming software to communicate on TCP/IP networks. A socket provides a bidirectional communication endpoint for sending and receiving data with another socket. Socket connections normally run between two different computers on a LAN or across the Internet, … Continue reading

Posted in Uncategorized | Leave a comment

what is the difference between sign that we include in headers and “headers.h”??????

sign denotes the path of that header file. “header.h” includes the path of current directory in which various directories are placed.

Posted in Uncategorized | Leave a comment