1. #ifndef __MAKEU_NET_H__
    2. #define __MAKEU_NET_H__
    3. #include <stdio.h>
    4. #include <string.h>
    5. #include <unistd.h>
    6. #include <errno.h>
    7. #include <stdlib.h>
    8. #include <strings.h>
    9. #include <sys/types.h> /* See NOTES */
    10. #include <sys/socket.h>
    11. #include <netinet/in.h>
    12. #include <netinet/ip.h> /* superset of previous */
    13. #define SERV_PORT 5001
    14. #define SERV_IP_ADDR "127.0.0.1"
    15. #define BACKLOG 5
    16. #define QUIT_STR "q"
    17. #endif