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. =============================================================================
#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
#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
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
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
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
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
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
please, tell me the steps to install bluetooth drivers on fedora 17….
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
#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
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
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
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
sign denotes the path of that header file. “header.h” includes the path of current directory in which various directories are placed.