#include <stdio.h>
#include <string.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
Go to the source code of this file.
Defines | |
#define | PORT 54321 |
#define | BUFSIZE 512 |
Functions | |
void | sigint_handler () |
void | accept_and_echo () |
main () | |
Variables | |
int | sock = -1 |
int | fd = -1 |
|
Definition at line 20 of file echo_server.c. Referenced by accept_and_echo(), and main(). |
|
Definition at line 19 of file echo_server.c. Referenced by main(). |
|
Definition at line 34 of file echo_server.c. References BUFSIZE, fd, and sock. Referenced by main(). |
|
Definition at line 75 of file echo_server.c. References accept_and_echo(), PORT, sigint_handler(), and sock. |
|
Definition at line 25 of file echo_server.c. Referenced by BattChecker::BattChecker(), and main(). |
|
Definition at line 23 of file echo_server.c. Referenced by __wrap_open(), accept_and_echo(), file_get_contents(), main(), and sigint_handler(). |
|
Definition at line 22 of file echo_server.c. Referenced by accept_and_echo(), connect_to_opensdk_actuator(), connect_to_usarsim(), main(), send_server(), send_usarsim(), and sigint_handler(). |