20 int main(
int argc,
char *argv[])
22 int exit_code = EXIT_SUCCESS;
25 memset(response, 0,
sizeof(response));
28 "udp_locator_service",
29 "Provides IPv4 Address/Port Service info." 44 skn_logger(
SD_EMERG,
"Message format is invalid! cannot proceed.");
54 skn_logger(
SD_EMERG,
"Application Host Init Failed! ExitCode=%d", exit_code);
60 skn_logger(
SD_NOTICE,
"Application ExitCode=%d", exit_code);
65 skn_logger(
SD_NOTICE,
"\n============================\nShutdown Complete\n============================\n");
int service_registry_provider(int i_socket, char *response)
void signals_cleanup(int sig)
int skn_handle_locator_command_line(int argc, char **argv)
void service_registry_entry_response_message_log(const char *response)
char gd_ch_program_name[SZ_INFO_BUFF]
int main(int argc, char *argv[])
int service_registry_valiadate_response_format(const char *response)
sig_atomic_t gi_exit_flag
int skn_udp_host_create_broadcast_socket(int port, double rcvTimeout)
char * gd_pch_effective_userid
void skn_program_name_and_description_set(const char *name, const char *desc)