Monitors an incoming port for messages from runtime or controller. More...
Go to the source code of this file.
| Functions | |
| int | monitor_controller_socket (int fd) | 
| Adds the global controller to be monitored by the socket monitor.  More... | |
| int | monitor_runtime_socket (int fd) | 
| Adds a runtime to be monitored by the socket monitor.  More... | |
| int | run_socket_monitor (int local_port, struct sockaddr_in *ctrl_addr) | 
| Starts (blocking) the socket monitor, listening on the provided port.  More... | |
Monitors an incoming port for messages from runtime or controller.
Definition in file socket_monitor.h.
| int monitor_controller_socket | ( | int | fd | ) | 
Adds the global controller to be monitored by the socket monitor.
| fd | the file decriptor of the global controller | 
Definition at line 116 of file socket_monitor.c.
| int monitor_runtime_socket | ( | int | fd | ) | 
Adds a runtime to be monitored by the socket monitor.
| fd | the file descriptor of the new runtime | 
Definition at line 130 of file socket_monitor.c.
| int run_socket_monitor | ( | int | local_port, | 
| struct sockaddr_in * | ctrl_addr | ||
| ) | 
Starts (blocking) the socket monitor, listening on the provided port.
Also connects to the global controller at the provided address
Definition at line 145 of file socket_monitor.c.
 1.8.6
 1.8.6