3 * cc -I/usr/local/include -o time-test time-test.c -L/usr/local/lib -levent
5 #include "event2/event-config.h"
9 #ifdef _EVENT_HAVE_SYS_TIME_H
12 #ifdef _EVENT_HAVE_SYS_SOCKET_H
13 #include <sys/socket.h>
27 main(int argc, char **argv)
30 WORD wVersionRequested;
34 wVersionRequested = MAKEWORD(2, 2);
36 err = WSAStartup(wVersionRequested, &wsaData);
39 /* Initalize the event library */