#include #include #include #include #include #include #include #define MAX_TOKENS 16 int field_cmd (char *recvh , int option); void process_msg (char *buf, char **tk, int *ntk ); int ext_job_act(int rc_sock); int get_address( struct sockaddr_in *addr, char *host, int port); int arrange_listen_socket(int port, int mode); void copy_lastmsg(char * ); void get_current_time(void); static void start_child(char * , unsigned int , char * , char * ); static void child_exit(int ); int broadcast_message( char * , char * , char * , char* ); char* get_status(char *sts); int send_to_rcm( char *cmd_cmd ); int broadcast_to_clients( char *msg, int size ); int broadcast_to_clients3( char *msg, int size );