From cebbe1cd7fe8be10d51a1d8fc4007407b1ba77c7 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sat, 22 Jan 2011 16:25:08 +0000 Subject: Première version du projet qui compile ! (utilise CMake) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///var/svn/2011-usi/trunk@10 db941bf7-0cb3-4dda-9634-87faf64f93a7 --- app/v3_c/src/myhttpd.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app/v3_c/src/myhttpd.c (limited to 'app/v3_c/src/myhttpd.c') diff --git a/app/v3_c/src/myhttpd.c b/app/v3_c/src/myhttpd.c new file mode 100644 index 0000000..d662dd3 --- /dev/null +++ b/app/v3_c/src/myhttpd.c @@ -0,0 +1,21 @@ +#include +#include +#include +#include + +#include +#include +#include + +#include "myhttpd.h" + +int main() { + //int res; + + int sockServ; + + sockServ = socket(AF_INET, SOCK_STREAM, 0); + if (sockServ -1) { perror("socket"); exit(1); } + + return 0; +} -- cgit v1.2.3