$search
#include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>#include <netdb.h>#include <ros/ros.h>#include "remote_power_manager.h"#include "remote_power_manager/RemotePowerPortStatus.h"#include "remote_power_manager/GetPortStatus.h"#include "remote_power_manager/SetAllRelay.h"#include "remote_power_manager/SetPortRelay.h"#include "remote_power_manager/RebootPort.h"

Go to the source code of this file.
Functions | |
| int | main (int argc, char **argv) |
Variables | |
| const char | DO = 253 |
| const char | DONT = 254 |
| const char | ECHO = 1 |
| const char | IAC = 255 |
| const char | SGA = 3 |
| const int | SOCKET_BUFFER = 100 |
| const char | WILL = 251 |
| const char | WONT = 252 |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Implement a simple TCP client for communicating with remote power management systems.
Definition at line 405 of file remote_power_manager.cpp.
| const char DO = 253 |
Definition at line 49 of file remote_power_manager.cpp.
| const char DONT = 254 |
Definition at line 50 of file remote_power_manager.cpp.
| const char ECHO = 1 |
Definition at line 52 of file remote_power_manager.cpp.
| const char IAC = 255 |
Definition at line 51 of file remote_power_manager.cpp.
| const char SGA = 3 |
Definition at line 53 of file remote_power_manager.cpp.
| const int SOCKET_BUFFER = 100 |
Definition at line 55 of file remote_power_manager.cpp.
| const char WILL = 251 |
Definition at line 47 of file remote_power_manager.cpp.
| const char WONT = 252 |
Definition at line 48 of file remote_power_manager.cpp.