Home | History | Annotate | Download | only in sockets

Lines Matching refs:hostname

63 char hostname[MAX_HOSTNAME_LEN];
80 ("Server arguments : %s <multiCast I.P.address/hostname>\n",
85 strncpy(hostname, argv[1], 255);
103 ("%s : Hostname [%s] passed [%s] is not a multicast server\n",
104 argv[0], hostname, inet_ntoa(multiCastAddr));
227 hostname, LOCAL_UDP_SERVER_PORT);
245 printf("%s: Error receiving data \n", hostname);
249 hostname, inet_ntoa(udpClientAddr.sin_addr),
270 printf("%s: waiting for data on port TCP %u\n", hostname,
289 printf("%s: received from %s:TCP%d : %s\n", hostname,
391 hostname, LOCAL_MULTI_SERVER_PORT);
404 printf("%s : cannot receive data\n", hostname);
410 ntohs(multiClientAddr.sin_port), hostname, message);