changes to timers, removed unused code

This commit is contained in:
Joseph Henry
2016-11-17 16:55:11 -08:00
parent ea1b62a7dc
commit 91048450e2
11 changed files with 179 additions and 63 deletions

View File

@@ -6,6 +6,7 @@
#include <netdb.h>
#include <stdlib.h>
#include <arpa/inet.h>
#include <string.h>
#define MAXBUF 65536
@@ -15,7 +16,7 @@ int main(int argc, char* argv[])
int status;
struct addrinfo sainfo, *psinfo;
struct sockaddr_in6 sin6;
int sin6len;
socklen_t sin6len;
char buffer[MAXBUF];
sin6len = sizeof(struct sockaddr_in6);