/* * sample program * UDP Client program */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <getopt.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> #include <errno.h> #define BUFSIZE 1024 static void help(void); int main(int argc ,char *argv[]) { char host[256] = {0}; char buf[BUFSIZE] = {0}