#include #include #include #include "sockets.h" int main(int argc, char *argv[]) { if (argc != 2) { printf("Usage: %s \n", argv[0]); exit(1); } int sock = udp_create_socket(); udp_bind_socket(sock, atoi(argv[1])); handle_udp_client(sock); return 0; }