changed fifo_data address, made fifo related stuff volatile, changed makefile to incorporate compiling image and program simultaneously

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@138 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2012-03-15 08:26:10 +00:00
parent 7c07ae5a5a
commit c2846e72e7
5 changed files with 63 additions and 46 deletions

View File

@ -1,7 +1,7 @@
#include "communication_funcs.h"
//#include <sys/socket.h>
//#include <sys/socket.h>
#include <netinet/tcp.h> /* for TCP_NODELAY */
#include <stdlib.h>
#include <string.h>
@ -209,7 +209,7 @@ void exitServer(int socketDescriptor) {
int sendDataOnly(int file_des, void* buf,int length) {
return write(file_des, buf, length);
return write(file_des, buf, length);
}