1 int main(int argc, char *argv[])
8 /* Main code begin here */
9 if (compat) { /* install signal handler */
10 Signal(SIGCHLD, HandSigCHLD); /* non restarting handler */
12 SignalRestart(SIGCHLD, HandSigCHLD); /* restarting handler */
14 /* create and bind socket */
15 if ( (list_fd = sockbind(argv[optind], "echo", 6, SOCK_STREAM)) < 0) {