my progranm of simple device driver is correct… but when i give make command it generate following errors… make -C /lib/modules/3.2.2-1.fc16.i686/build M=/home/nishu/Documents/device_driver modules make: *** /lib/modules/3.2.2-1.fc16.i686/build: No such file or directory. Stop. make: *** [default] Error 2 . .
Implemented driver again… implemented sockets using iNET and able to chat between two systems..
implemented sockets ,thread and simple implementation of device-drivers
implemented 1st lkm…. and chatting on 2 pc using inet….multiple client server using UNIX ….. and threads….
LINUX implements through the fork() and exec() system calls an elegant two-step mechanism for process creation and execution. fork() is used to create the image of a process using the one of an existing one, and exec is used to … Continue reading
done chatting with socket and single client server……..now implementing multiple client server……
done single client server for sockets…nw implementing threads….
done single client server for socket (inet and unix)……..facing problem in multiple clients…. done 2way chatting using socket and msg queue……now implementing threads…….
struct Node { int data; struct Node *next; }var; int main() { printf(“SIze of struct = %d\n”, sizeof(struct Node)); return 0; } Here it is printing 16. Can someone explain how it is printing 16?
this is the program for connecting 7nodes…… #include int main(void) { struct node { int info; struct node *d; }; struct node d1,*n,*t; { int i; d1.d=(struct node*) malloc(sizeof(struct node)); printf(“\nmemory allocation for pointer p of d1\n”); printf(“\nd1.d=%d\n”,d1.d); n=(struct node*)malloc(sizeof(struct … Continue reading
working on multiple clients and server project based on sockets…!