Commit 0b36f44b78dc8963f586dc389c204dabf5bb5bcc

Authored by Alexandre Schulz
1 parent 57f9ca40
Exists in sqlite_test

my very own branch of DDServer

Showing 2 changed files with 5 additions and 0 deletions   Show diff stats
compilation_cmd.txt 0 → 100644
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +sudo ./compilAndInstall.sh -d . -u http://centos/DDService -r /home/amda_admin/ -b /home/amda_admin/DDBASE/ -l /opt/local
src/SERVER/DD_Server.c
@@ -408,6 +408,9 @@ void Serv(int SocketID) @@ -408,6 +408,9 @@ void Serv(int SocketID)
408 /** 408 /**
409 sleep(60); 409 sleep(60);
410 **/ 410 **/
  411 + printf("in loop : %s\n", ACCINSTR);
  412 + char vu;
  413 + scanf("iiii", vu);
411 FileAccID = OpenInstr(ACCINSTR); 414 FileAccID = OpenInstr(ACCINSTR);
412 if(FileAccID < 0) 415 if(FileAccID < 0)
413 { 416 {
@@ -699,6 +702,7 @@ int main(int argc, char **argv) @@ -699,6 +702,7 @@ int main(int argc, char **argv)
699 while(1) 702 while(1)
700 { 703 {
701 NewSocketLen = sizeof(NewSocketAddr); 704 NewSocketLen = sizeof(NewSocketAddr);
  705 + printf("This is my sqlite3 version of DDServer\n");
702 if((NewSocketID = accept(ListenerID,&NewSocketAddr,&NewSocketLen)) < 0) 706 if((NewSocketID = accept(ListenerID,&NewSocketAddr,&NewSocketLen)) < 0)
703 { 707 {
704 // printf(" %d %d %d \n", ListenerID, (int)NewSocketLen, NewSocketID); 708 // printf(" %d %d %d \n", ListenerID, (int)NewSocketLen, NewSocketID);