Trial on using remote_host instead of ip

This commit is contained in:
Kenny Lam
2017-10-24 22:58:58 +08:00
parent f34f903317
commit c6cd29dd6f
6 changed files with 22 additions and 14 deletions

View File

@@ -24,6 +24,7 @@
#include <sys/stat.h>
#include <stdlib.h> //for exit(0);
#include <errno.h> //For errno - the error number
#include <netdb.h> // for gethostbyname()
#include <netinet/tcp.h> //Provides declarations for tcp header
#include <netinet/udp.h>
#include <netinet/ip.h> //Provides declarations for ip header