This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <sys/socket.h> | |
#include <sys/select.h> | |
#include <sys/types.h> | |
#include <netinet/in.h> | |
#include <netinet/udp.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#define READLINE_CALLBACKS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This file was cut from original server code | |
// Use this for eudcational purporses | |
// (C) and so on | |
#define _FLAG_FIN 0x01 | |
#define _FLAG_SYN 0x02 | |
#define _FLAG_RST 0x04 | |
#define _FLAG_PSH 0x08 | |
#define _FLAG_ACK 0x10 | |
#define _FLAG_URG 0x20 |
OlderNewer