blob: 2140115dc028b590d84787fc6d420b0ecdf7744e [file] [log] [blame]
willy tarreaua41a8b42005-12-17 14:02:24 +01001#include <stdio.h>
2#include <stdlib.h>
3#include <unistd.h>
4#include <string.h>
5#include <ctype.h>
6#include <sys/time.h>
7#include <sys/types.h>
8#include <sys/socket.h>
9#include <netinet/tcp.h>
10#include <netinet/in.h>
11#include <arpa/inet.h>
12#include <netdb.h>
13#include <fcntl.h>
14#include <errno.h>
15#include <signal.h>
16#include <stdarg.h>
17#include <sys/resource.h>
18#include <time.h>
19#include <regex.h>
20#include <syslog.h>
21
22
23main() {
24 printf("sizeof sockaddr=%d\n", sizeof(struct sockaddr));
25 printf("sizeof sockaddr_in=%d\n", sizeof(struct sockaddr_in));
26 printf("sizeof sockaddr_in6=%d\n", sizeof(struct sockaddr_in6));
27}