Lines Matching refs:message
51 * - Send a test message over loop back multicast and make sure it arrives.
346 * Test an actual simple UDP message - send a single byte to an address we're
357 char message;
400 message = 'A';
401 len = sizeof(message);
402 len = sendto(sock, &message, len, 0, (struct sockaddr *)&sin,
407 if (len != sizeof(message))
409 sizeof(message), len);
411 message = 'B';
413 len = recvfrom(sock, &message, sizeof(message), 0,
418 if (len != sizeof(message))
419 errx(-1, "test_udp: recvfrom: len %d != message len %d",
420 len, sizeof(message));
422 if (message != 'A')
424 message);