#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

#define REQUEST 19
#define REPLY 10000

#define UDP_SERV_PORT 7777
#define TCP_SERV_PORT 8888
#define PORT 80
#define TTCP_SERV_PORT 9999

#define SA struct sockaddr *

int read_stream(int, char *, int);

