summaryrefslogtreecommitdiff
path: root/app/v3_c/src/myhttpd.c
blob: d662dd379464cb84bd805adf97e4ac227c1e9ce3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

#include <stdio.h>
#include <stdlib.h>
#include <errno.h>

#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;
}