#define TCP_CONGESTION 13
#endif
-
-
#include "Gapil.h"
#include "macros.h"
#include <stdio.h> /* standard I/O library */
#include <errno.h> /* error definitions and routines */
#include <string.h> /* C strings library */
+#include <stdlib.h> /* C standard library */
#include "Gapil.h"
#include "macros.h"
#include <arpa/inet.h> /* IP addresses conversion utilities */
#include <sys/socket.h> /* socket constants, types and functions */
#include <stdio.h> /* standard I/O library */
+#include <string.h> /* C strings library */
+#include <stdlib.h> /* C standard library */
+
+#include "Gapil.h"
+#include "macros.h"
+
#define MAXLINE 256
void usage(void);
#include <stdio.h> /* standard I/O library */
#include <errno.h> /* error definitions and routines */
#include <string.h> /* C strings library */
+#include <stdlib.h> /* C standard library */
+#include "Gapil.h"
#include "macros.h"
#define MAXLINE 256
#include <stdio.h> /* standard I/O library */
#include <errno.h> /* error definitions and routines */
#include <string.h> /* C strings library */
+#include <stdlib.h> /* C standard library */
+
+#include "Gapil.h"
+#include "macros.h"
#define MAXLINE 256
void usage(void);
#include <stdio.h> /* standard I/O library */
#include <errno.h> /* error definitions and routines */
#include <string.h> /* C strings library */
+#include <stdlib.h> /* C standard library */
+#include "Gapil.h"
#include "macros.h"
+
#define MAXLINE 256
void usage(void);
void ClientEcho(FILE * filein, int socket);
/* handle echo to client */
while (1) {
/* accept connection */
- len = sizeof(cli_add);
if ( (conn_fd = accept(list_fd, NULL, NULL)) < 0) {
PrintErr("accept error");
exit(1);