equal
deleted
inserted
replaced
6 #include <stdio.h> |
6 #include <stdio.h> |
7 #include <stdlib.h> |
7 #include <stdlib.h> |
8 #include <string.h> |
8 #include <string.h> |
9 #include <unistd.h> |
9 #include <unistd.h> |
10 #include <sys/socket.h> |
10 #include <sys/socket.h> |
11 #include <netinet/in.h> |
|
12 #include <arpa/inet.h> |
|
13 #include <sys/types.h> |
11 #include <sys/types.h> |
14 #include <netdb.h> |
12 #include <netdb.h> |
|
13 #include <netinet/in.h> |
15 |
14 |
16 #define MAXLEN 80 |
15 #define MAXLEN 80 |
17 |
16 |
18 int client_write (int client_socket, char *s) |
17 int client_write (int client_socket, char *s) |
19 { |
18 { |