RPi Locator and Display Services
|
#include "skn_network_helpers.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
cmdline: ./udp_locator_service -m "<delimited-response-message-string>"
delimited-response-message-string : required order -> name,ip,port,line-delimiter... format: "name=<service-name>,ip=<service-ipaddress>ddd.ddd.ddd.ddd,port=<service-portnumber>ddddd <line-delimiter>" name=<service-name> text_string_with_no_spaces ip=<service-ipaddress> ddd.ddd.ddd.ddd port=<service-portnumber> ddddd REQUIRED <line-delimiter> is one of these '|', '', ';'
example: -m "name=lcd_display_service,ip=192.168.1.15,port=48028|" udp_locator_service -m "mame=rpi_locator_service, ip=10.100.1.19, port=48028|name=lcd_display_service, pip=10.100.1.19, port=48029|name=rpi_locator_service, ip=10.100.1.19, port=48028|name=lcd_display_service, port=48029|"
Definition at line 20 of file udp_locator_service.c.
References gd_ch_program_name, gd_i_socket, gd_pch_effective_userid, gd_pch_message, gi_exit_flag, PACKAGE_VERSION, SD_EMERG, SD_NOTICE, service_registry_entry_response_message_log(), service_registry_provider(), service_registry_valiadate_response_format(), signals_cleanup(), signals_init(), SKN_FIND_RPI_PORT, skn_get_userids(), skn_handle_locator_command_line(), skn_program_name_and_description_set(), skn_udp_host_create_broadcast_socket(), and SZ_COMM_BUFF.