static const char *str_kernel = "Kernel";
static const char *str_ust = "UST";
static const char *str_jul = "JUL";
static const char *str_kernel = "Kernel";
static const char *str_ust = "UST";
static const char *str_jul = "JUL";
fd = socket(AF_INET, SOCK_STREAM, 0);
if (fd < 0) {
perror("socket check relayd");
fd = socket(AF_INET, SOCK_STREAM, 0);
if (fd < 0) {
perror("socket check relayd");
ret = inet_pton(sin.sin_family, "127.0.0.1", &sin.sin_addr);
if (ret < 1) {
perror("inet_pton check relayd");
ret = inet_pton(sin.sin_family, "127.0.0.1", &sin.sin_addr);
if (ret < 1) {
perror("inet_pton check relayd");